PDA

View Full Version : [ubuntu] using sudo without password?


MrUmunhum
July 12th, 2009, 06:53 PM
Hi group,

I have just installed 9.04 and I have a security question.

In my Fedora system I can remove the 'X' in the /etc/passwd file to bypass the annonying 'enter password' prompt for the sudo command. This does not work with Ubuntu. Is there a way to by pass the password prompt??

kerry_s
July 12th, 2009, 07:09 PM
you use the sudoers file, edit it with "sudo visudo".

i use a few, see pic:

lovinglinux
July 12th, 2009, 07:27 PM
I suggest you increase the timeout instead of removing the password.

Warren Watts
July 13th, 2009, 01:23 AM
The whole purpose of "sudo" is to help prevent accidentally borking your system by entering commands that can wreak havoc on your OS.

Having to enter a password gives you the opportunity to "think twice" before entering commands with the potential to damage your installation.

Are you SURE you really want to eliminate that opportunity to think a command through by doing away with having to enter a password?

kerry_s
July 13th, 2009, 02:45 AM
certain programs is fine, system wide is just stupid, you might as well be root.

longer timeout ? god forbid your not surfing on line and hit a hidden sudo js while your sudo is still wide open. :lolflag:

i only use no password on gui programs, i try not to for cli commands.

lovinglinux
July 13th, 2009, 03:20 AM
longer timeout ? god forbid your not surfing on line and hit a hidden sudo js while your sudo is still wide open. :lolflag:

NoScript (https://addons.mozilla.org/en-US/firefox/addon/722) ;)

aysiu
July 13th, 2009, 11:08 AM
I'm closing this thread, in accordance with forum policy:
http://ubuntuforums.org/showthread.php?t=716201