Sudo

One of the first things I install on a server is sudo. It’s pretty well documented that it isn’t wise to always use su. I’ve also noticed using sudo forces me to constantly double check what I do so that’s a good side effect.

Get into superuser mode, install sudo.

 su
apt-get install sudo
visudo

Add the user you want into sudo by replacing ‘newuser’

# User privilege specification
root        ALL=(ALL:ALL) ALL
newuser    ALL=(ALL:ALL) ALL
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s