Supressing password request from 'sudo'

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Sun Apr 3 18:02:44 UTC 2005


William O'Higgins wrote:
> To use sudo without requiring a password, but something like the
> following in your sudoers file (with visudo, usually):
> 
> username ALL=NOPASSWD:/path/to/command
> 
> That works for me.

In the early days of my program that is exactly what I did. I decided 
though that I wanted to pass the password (from a protected file) 
because I hope that the program will be used by others. For that reason 
I thought that asking people to add 'NOPASSWD' was too insecure.

Thanks though, it was kind of you to reply!

Madison

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Madison Kelly (Digimer)
TLE-BU, The Linux Experience; Back Up
http://tle-bu.thelinuxexperience.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list