[CentOS] Add /sbin to sudo PATH

Samuel Contesse

samuel.contesse at softcomponent.ch
Fri Jan 22 10:54:37 UTC 2010


Hello,

Does anyone have an idee how to add /sbin to the sudo $PATH environment?
Adding /sbin to .bashrc $PATH isn't really what I want...

I'd like sudoers to be able to run:

$ sudo chkconfig

And not:

$ sudo /sbin/chkconfig

Thanks

Sam



More information about the CentOS mailing list