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
- XFS Filesystem has duplicate UUID problem
- dropbear rsa key problem
- Java Runtime Environment on Mozilla Firefox
- How to extract a deb package without installing
- Fast process lookup and signaling
- Superblock backups for ext2 and ext3 partitions
- Improving ext3 filesystem performance with directory indexing
- Permit relaying to a list of ip address
- Removing specific message(s) from exim mail queue
- Restricting root logins
LAST ADDED
- Auto directory spelling corrections
- Disabling emacs splash screen
- Getting a nice SELinux audit report
- Learning all of the available system calls
- Find out if a command is aliased to another command
- Fast process lookup and signaling
- Syntax highlighting in less
- Restricting root logins
- Improving file system performance with noatime
- Enabling laptops special keys under KDE

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