Skip to content

sudo schmudo

25/07/2012

Below are some useful commands and links for sudo

find out what sudo permission level you have
bonstechblog> sudo -l
Password:
User bonstechblog may run the following commands on this host:
(ALL) ALL
(root) !SUDOSUDO

alter sudoers file
root> visudo

If the above doesn’t work, you’re not supposed to do this but you know …
root> vi /usr/local/etc/sudoers

sudo usage
bonstechblog> sudo
bonstechblog> sudo useradd -m somechap

xkcd sudo joke

Advertisements

From → Uncategorized

Leave a Comment

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

%d bloggers like this: