From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] PATH for user Date: Thu, 08 Oct 2009 11:57:30 +0300 Message-ID: <4ACDA97A.6090109@iop.kiev.ua> (raw) In-Reply-To: <20091008084109.GE6196@wrars-comp.wrarsdomain> [-- Attachment #1: Type: text/plain, Size: 1297 bytes --] Andrey Rahmatullin пишет: > On Thu, Oct 08, 2009 at 11:37:55AM +0300, Andrii Dobrovol`s`kii wrote: >> echo $PATH >> /home/andriy/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games > И что здесь не так? > То, что оно сперва лезет в /usr/local/bin а только потом в /usr/bin. И в результате начали вдруг исполняться бог знает когда поставленные программы из /usr/local вместо системных. >> Это так задумано? > Ээ? До того как установил бету р5 свалка хлама в локал никак не мешала мне пользоваться системными программами. И выручала когда системные пакеты оказывались разломанными. > >> Где устанавливается это значение для конкретного пользователя? > /etc/profile в основном. Я не профи в башескриптинге, но вроде там всё с точностью до наоборот. Сперва должен ити /usr/bin и уже за ним /usr/local/bin. Как мне того и хотелось бы. И в домашнике bashrc только отсылает к системному. Как и bash_profile. -- Rgrds, Andriy ********************************************************************* email: dobr at iop dot kiev dot ua Kyiv, Ukraine Phone: (380-44) 525-7824 Department of Gas Electronics Fax: (380-44) 525-2329 Institute of Physics of NASU ********************************************************************* [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-10-08 8:57 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-10-08 8:37 Andrii Dobrovol`s`kii 2009-10-08 8:41 ` Andrey Rahmatullin 2009-10-08 8:57 ` Andrii Dobrovol`s`kii [this message] 2009-10-08 9:07 ` Andrey Rahmatullin 2009-10-08 9:25 ` Andrii Dobrovol`s`kii 2009-10-08 9:30 ` Andrey Rahmatullin 2009-10-08 9:51 ` Andrii Dobrovol`s`kii 2009-10-08 10:04 ` Andrey Rahmatullin 2009-10-08 10:12 ` Andrii Dobrovol`s`kii 2009-10-08 12:33 ` Andrii Dobrovol`s`kii
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4ACDA97A.6090109@iop.kiev.ua \ --to=dobr@iop.kiev.ua \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git