How to get sudo privilage in debian lenny

Normally in debian lenny we can use only su to become the root ifwe nee to use the sudo power then we have to edit the /etc/sudoers file
first become root by using su

ganesh@debian:~$ su
Password:
debian:/home/ganesh# visudo

Now add the username to the list..
ganesh  ALL=(ALL) ALL

am attaching the scrrenshots

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