ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] strange $PATH
@ 2007-03-11 13:33 Denis G. Samsonenko
  2007-03-11 15:51 ` Хихин Руслан
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Denis G. Samsonenko @ 2007-03-11 13:33 UTC (permalink / raw)
  To: community

Вечер добрый!

Обнаружил странное поведение переменной $PATH в эмуляторе терминала.
Если запустить терминал (xterm, например), то переменная $PATH
содержит несколько странное значение:

[denis@ogion ~]$ echo $PATH
/home/denis/bin:/bin:/usr/bin:/usr/bin:/usr/ucb:/usr/X11R6/bin:/usr/games

Два раза /usr/bin, отсутствует /usr/local/bin и присутствует какой-то
странный /usr/ucb. Если залогиниться в консоли, или через su, то $PATH
выглядит нормально:

[denis@ogion ~]$ su - denis
Password:
[denis@ogion ~]$ echo $PATH
/home/denis/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/games
[denis@ogion ~]$

Не подскажет ли кто, с чем связано такое поведение переменной $PATH в
X, и как её привести к нормальному виду?

-- 
Всего доброго,

Денис.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-03-12 16:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-11 13:33 [Comm] strange $PATH Denis G. Samsonenko
2007-03-11 15:51 ` Хихин Руслан
2007-03-11 15:59   ` Denis G. Samsonenko
2007-03-12  5:10     ` Хихин Руслан
2007-03-12  5:29       ` Denis G. Samsonenko
2007-03-12  6:06         ` Denis G. Samsonenko
2007-03-12  6:09         ` Хихин Руслан
2007-03-12  6:23           ` Denis G. Samsonenko
2007-03-12  6:43             ` Хихин Руслан
2007-03-12 16:02           ` Denis G. Samsonenko
2007-03-11 17:04 ` Victor
2007-03-11 17:22   ` Denis G. Samsonenko
2007-03-11 22:44 ` Dmitry V. Levin
2007-03-12  1:25   ` Denis G. Samsonenko
2007-03-12  3:28     ` Denis G. Samsonenko
2007-03-12  4:11       ` Dmitry Lebkov
2007-03-12  4:58         ` Denis G. Samsonenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git