You have to install the sudo package to be able to use sudo. 

 

If you want to install sudo you will first need to open a terminal and type:

$ su

$<enter password>

# aptitude update <- let it do it’s thing and it will tell you if there are any 
updates

# aptitude safe-upgrade <- let it do it’s upgrade

# aptitude install sudo < let it install sudo

# vim /etc/sudoers < now you can edit the sudoers file and add your username. 
The new line will look just like the line for root except replace root with 
your username.

 

You should then be able to use sudo to run root commands.

 

----
George Randall 

From: dwain [mailto:dwain.alf...@gmail.com] 
Sent: Friday, May 22, 2009 4:03 AM
To: debian
Subject: new to list, new to debian, new to linux

 

hello all.  i just installed debian tonight next to win xp.  they seem to play 
well together.  i was trying to setup the bug report and found that i can't 
sudo into root.  i can get into the synaptic package manager with the root 
password and this has me a bit confused why i can't login as root in the 
terminal with sudo.  is there another command that i can try to do this?

also i would like to update my system.  would i: apt-get update and then: 
apt-get install to do this?

any help would be appreciated, but please keep your responses simple as i am 
trying to learn a new os and am in the process of migrating away from windows.

cheers,
dwain

-- 
"Fear of the devil is one way of doubting God.  " - Kahlil Gibran

Reply via email to