[CentOS] Add /sbin to sudo PATH
gael at nozon.com
Fri Jan 22 13:44:57 UTC 2010
Except adding /sbin to the PATH in ~/.bash_profile (still better than in
.bashrc), I don't think you have so many solutions.
Samuel Contesse wrote:
> 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
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS