Re: Adding /sbin and /usr/sbin to everyone's path in F10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2008 at 11:57:26PM -0700, Pete Zaitcev wrote:
> On Thu, 24 Apr 2008 04:43:26 +0200, Ralf Corsepius <rc040203@xxxxxxxxxx> wrote:
> > On Wed, 2008-04-23 at 21:58 -0200, Thomas M Steenholdt wrote:
> 
> > [...] I really fail why
> > extending their personal accounts' $PATH is demanding to much for this
> > audience.
> 
> It's not personal account's PATH, it's what su gives you without
> a dash. That's why I have to comment #if [ "$EUID" = "0" ]; then
> in every /etc/profile on every system forever and ever. I wish
> it was just ~/.bashrc like you're imagining.

$ PATH=$PATH:blah
$ su
Password: 
# echo $PATH | grep -l blah
(standard input)

su w/o dash inherits your PATH, so no need to tweak all the profiles
on your system.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpKZhw9uckD3.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux