[ProgClub list] Memory management in C

Stuart Laughlin stuart at bistrotech.net
Sun Oct 2 00:54:30 AEST 2011


On Fri, Sep 30, 2011 at 6:44 PM, John Elliot <jj5 at progclub.org> wrote:
> Yeah, that's cool. I'll setup a pcad user and add it to the sudo group,
> which will give it the permission it needs to read the particular files I
> need it to (i.e. the file that contains the password for the MySQL root
> user). Still, don't you need to supply your password when you invoke sudo? I
> didn't want to create a user that had to know its password.
>

You can use the NOPASSWD option in your sudoers file, and that ought
to give you what you want.

http://www.ducea.com/2006/06/18/linux-tips-password-usage-in-sudo-passwd-nopasswd/


--Stuart



More information about the list mailing list