A really newbie question (sudo privilege)

Hi,

I am learning the wonderful world of a server installation and I am following the great Linode documentation.

I am just at the beginning. I made the step of creating a user, which I granted with the admin role (user mod -a -G sudo username)

This seems to be fine. I am told that I will be able to use the sudo command to make further changes. But nope. If I try the example given sudo iptables -L, i get the answer that no such command exits. If I log on root mode, I am able to perform the command.

So, what went wrong? Is there something faulty in the instruction given at http://library.linode.com/securing-your-server ?

I use the Debian 6 distribution.

2 Replies

I got my answer going here: http://www.linuxforums.org/forum/debian … found.html">http://www.linuxforums.org/forum/debian-linux/160973-solved-sudo-command-not-found.html

The sudo was not installed. So the documentation is not complete on that point.

@GuyVerville:

I got my answer going here: http://www.linuxforums.org/forum/debian … found.html">http://www.linuxforums.org/forum/debian-linux/160973-solved-sudo-command-not-found.html

The sudo was not installed. So the documentation is not complete on that point.

Those introductory articles are written primarily for Ubuntu. Debian does not come with 'sudo' installed by default.

-Tim

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct