PATH for sudo users

Robert Marcano robert at marcanoonline.com
Wed May 28 16:06:57 UTC 2008


On Wed, 2008-05-28 at 11:16 -0300, Gustavo Alves wrote:
> The file /etc/profile only allow /sbin and /usr/sbin paths to uid 0
> user. Unfortunately, other users needs this path, as sys group
> (refered on sudoers, for example). To avoid the inclusion of the path
> on each user, I like to implement some sort of autoconfiguration. As
> first try, I'm allowing the /sbin path to euid 0 and group_id sys and
> adm. There is another way to do this? Fedora should do it?
> 
> Thanks for any advises.

add a new script to /etc/profile.d/
> 
> -- 
> Gustavo Junior Alves
> GJAlves Tecnologia
> Tel: +55 19 9223-0500 

________________________________________
Robert Marcano

web: http://www.marcanoonline.com/
gpg --keyserver hkp://pgp.mit.edu/ --recv-key 72A0DCFD






More information about the fedora-devel-list mailing list