formats

Change sudo default password cache

Published on August 4, 2012, by + in linux, sysadmin.

Change sudo default password cache | sudo’s default password cache time is 5 minutes. To change the default time, it is possible to edit a setting in /etc/sudoers as desired. I’ll show you how! Edit /etc/sudoers with your desired text editor, or as standard with sudo visudo: $ sudo visudo For example, to increase the timeout to 30 minutes for user

formats

Suse | sudo asks for root password

Published on July 25, 2012, by + in linux, sysadmin.

Suse | sudo asks for root password | By default, the sudo command on Suse Linux asks for the root password instead of the user’s password. I’ll show you how to fix that to be more expected (and secure!) behavior of sudo and only ask for the user’s password. 1. Crack open a terminal, and issue: $ sudo visudo 2. Comment out the

formats

Add User to Wheel Group

Add User to Wheel Group | To add a user to the wheel group, simply issue this command: sudo gpasswd -a bob wheel In this example the username is ‘bob’. The output will return: Adding user bob to group wheel

Home Posts tagged "sudo"