Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page [SOLVED] help setting up sudo
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Closed Thread
 
Thread Tools Display Modes
Old 05-13-2008   #1 (permalink)
thesimplecreator
Linux Newbie
 
thesimplecreator's Avatar
 
Join Date: Jun 2007
Location: washington , USA
Posts: 166
Send a message via MSN to thesimplecreator
[SOLVED] help setting up sudo

i have debian 4.0 installed in qemu, and i installed sudo using aptitude.
but when i go to use sudo
for example:
Code:
cody@cody-debian:~$ sudo aptitude update
I get this:
Code:
cody is not in the sudoers file. This incident will be reported.
How do i add the user cody to the "sudoers file"?

thanks
__________________
Microsoft isn't evil, they just make really crappy operating systems.
Linus Torvalds

registered Linux user number 456650
Proud user of Debian
thesimplecreator is offline  
Old 05-13-2008   #2 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,280
Did you try something like this?
Jonathan183 is offline  
Old 05-14-2008   #3 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 17,325
Send a message via Yahoo to devils casper
Execute this
Code:
su -
echo "cody ALL=(ALL)  ALL" >> /etc/sudoers
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Old 05-14-2008   #4 (permalink)
thesimplecreator
Linux Newbie
 
thesimplecreator's Avatar
 
Join Date: Jun 2007
Location: washington , USA
Posts: 166
Send a message via MSN to thesimplecreator
Thank you guys, it is now working
__________________
Microsoft isn't evil, they just make really crappy operating systems.
Linus Torvalds

registered Linux user number 456650
Proud user of Debian
thesimplecreator is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:51 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0