Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2005, 10:14 AM   #1
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
sudo not working

Hi all

When I use
sudo [command]
I get error:

user is not in the sudoers file. This incident will be reported
I'm sure its something simple....

Also, I wanted to add another user to my box, how would I accolpish this? This user will only be playing MP3's and surfing the net so admin priv's are needed.


Old 02-26-2005, 01:44 PM   #2
Registered: Feb 2005
Location: California, USA
Distribution: Novell SuSE
Posts: 39

Rep: Reputation: 15
Yep, it's something simple.

from the command-line,
man sudo
will show you the manual page for the sudo command.
It will also tell you how to authorize users.

Are you running KDE? If so, then type 'man:sudo' into
the location bar of konqueror, and it will display a nice
html-formated man page.

Hint: you need to add your login into the /etc/sudoers file.

Old 02-26-2005, 03:47 PM   #3
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Thanks Steve

Well, I didnt inderstand a word of man:sudo, but I did managed to find the /etc/sudoers file and add my name in, now it works.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 04:20 PM
About sudo alnreddy Linux - Security 3 06-13-2005 01:53 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 02:22 PM
su and sudo muman Linux - Security 9 12-30-2004 11:55 AM
sudo cgammel Linux - Newbie 2 11-30-2003 10:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration