Setting Up Sudo in 10 Seconds

This is the first thing I do when logging into a dedicated or virtual dedicated server:

su -
visudo

User_Alias	FULLTIMERS = youruser
User_Alias	PARTTIMERS = anotheruser

Defaults:FULLTIMERS    !lecture

# full time sysadmins can run anything on any machine without a password
FULLTIMERS	ALL = NOPASSWD: ALL

# part time sysadmins may run anything but need a password
PARTTIMERS	ALL = ALL
Tags: , , , , , , ,

2 Responses to “Setting Up Sudo in 10 Seconds”

Leave a Reply


uberdose 2.0

L-l-look at you, hacker.