ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] strange $PATH
Date: Mon, 12 Mar 2007 15:06:22 +0900
Message-ID: <957265820703112306n18955783t201f09eed77e074f@mail.gmail.com> (raw)
In-Reply-To: <957265820703112229t7a03c07evee8a01def18cf7db@mail.gmail.com>

День добрый!

> >  > У меня тоже Сизиф. В качестве DE использую xfce.
> > Скорей всего надо искать св скриптах запуска  xfce
>
> Мне кажется, что это где-то в xdm происходит. Т.к. при запуске того же
> xfce через startx переменная PATH содержит правильные пути. Если же
> логиниться через xdm, то получается такая петрушка.

В man xdm как раз такая строка присутствует (/bin:/usr/bin:/usr/bin:/usr/ucb):

---------------------------------------------------------------------------
       DisplayManager.DISPLAY.userPath
              Xdm  sets  the PATH environment variable for the session to this
              value.  It should be a colon separated list of directories;  see
              sh(1)          for          a          full         description.
              ``:/bin:/usr/bin:/usr/bin:/usr/ucb'' is a common  setting.   The
              default  value  can  be  specified at build time in the X system
              configuration file with DefaultUserPath.

       DisplayManager.DISPLAY.systemPath
              Xdm sets the PATH environment variable for the startup and reset
              scripts  to  the  value  of this resource.  The default for this
              resource is specified at build  time  by  the  DefaultSystemPath
              entry      in      the      system      configuration      file;
              ``/etc:/bin:/usr/bin:/usr/bin:/usr/ucb''  is  a  common  choice.
              Note the absence of ``.'' from this entry.  This is a good prac-
              tice to follow for root; it avoids many common Trojan Horse sys-
              tem penetration schemes.
---------------------------------------------------------------

По идее должно быть "/bin:/usr/bin:/usr/local/bin".

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

Денис.

  reply	other threads:[~2007-03-12  6:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 13:33 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 [this message]
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

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=957265820703112306n18955783t201f09eed77e074f@mail.gmail.com \
    --to=d.g.samsonenko@gmail.com \
    --cc=community@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 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