Passwordless sudo setup
If you want to give permissions to some users who are in a special group (probably sudo) to use sudo without asking password, you can do this simple in two steps:
First of all, you must add related users to group sudo. For example we can add bob to group sudo:
adduser bob sudo
And after that type visudo command and add or comment out following line:
%sudo ALL=NOPASSWD: ALL
It says that password not required for the users who are in group of sudo.
- 1 Comment
- Murat Demirten
- 16 Apr 2008, 15:30
-
sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Disabling reverse dns lookups in ssh
- Disabling ssh password authentication
- Recursively mput with smbclient
- XFS Filesystem has duplicate UUID problem
- Lowercase Table Names in MySQL
- Booting from an ISO image using qemu
- Redirecting TCP ports with redir
- Rewriting destination ip address
- Remove all frozen messages from exim mail queue
- Passwordless sudo setup
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary

It didn't work for me. But also try this one: Type "visudo" command as root (without quotes) and add this line to the "User privilege specification" part: username ALL=(ALL) NOPASSWD: ALL