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
- Redirecting tcp / udp ports with socat
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Passwordless sudo setup
- Users with /bin/false shell to login on vsftpd
- Scp resume
- Using lsof utility
- Enabling remote desktop on a VirtualBox Machine
- XFS Filesystem has duplicate UUID problem
- Replication in MySQL
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