Skip to content

sudo schmudo


Below are some useful commands and links for sudo

find out what sudo permission level you have
bonstechblog> sudo -l
User bonstechblog may run the following commands on this host:
(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


From → Uncategorized

Leave a Comment

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: