Why does sudo ask for a password when one can sudo su without a password and perform the same commands? Is there a way to make sudo not ask for a password when you're logged in as the an admin anyway?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
|||||||||||
|
|
You can just modify following lines in /etc/sudoers :
to
|
||||
|
|
|
sudo will always want a password once, but just set a crazy long timeout -- and note that it is specified in minutes: Defaults env_reset,timestamp_timeout=60 |
|||||
|
sudoersfile. I don't remember the details, butman sudoersandman visudowill help. – ughoavgfhw Jun 6 '12 at 23:41