[CentOS] Add /sbin to sudo PATH

Benjamin Franz jfranz at freerun.com
Fri Jan 22 12:35:33 UTC 2010


Samuel Contesse wrote:
>
>> 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
>>     
Put a symlink to chkconfig in /usr/local/bin ?

-- 
Benjamin Franz


More information about the CentOS mailing list