Re: Add /sbin to sudo PATH

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



It's right, adding path into .bash_profil is so easy...

------Original Message------
From: Gaël Honorez
Sender: centos-bounces@xxxxxxxxxx
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re:  Add /sbin to sudo PATH
Sent: Jan 22, 2010 8:44 PM

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:
> 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
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>   

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


Regards,
David
--
http://pnyet.web.id
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux