Re: can't get the proper PATH variable with root

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 12 Jan 2003 18:25:47 +0100, Ricardo Carrillo Cruz wrote:

> When I login in my machine with a normal user,the normal
> user's path is correct,i mean,it hasn`t access to /sbin
> /usr/sbin neither.The problem is that when i open a console, i
> turn myself root with su,the root user inherits the same path
> that the normal user has.¿Why? I' ve tried to put the correct
> path into the .bash_profile of root,but still doesn`t work.

Don't switch to user root, *log in* as root. Use either of
these:

  $ su --login
  $ su -l
  $ su -
  
- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+IboP0iMVcrivHFQRAhtRAJ9bB2CH25xqnrk92hYOxTNuYobKKACfThp+
fvyY29NWV8OXCUpC087TGs8=
=KvI/
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux