LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 35
sudo not working


Hi all

When I use
Code:
sudo [command]
I get error:

Code:
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.

Thanks

Hong
 
Old 02-26-2005, 12:44 PM   #2
susefan
Member
 
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.

Cheers
 
Old 02-26-2005, 02:47 PM   #3
hongman
Member
 
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.

Thanks

Hong
 
  


Reply


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 03:20 PM
About sudo alnreddy Linux - Security 3 06-13-2005 12:53 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 01:22 PM
su and sudo muman Linux - Security 9 12-30-2004 10:55 AM
sudo cgammel Linux - Newbie 2 11-30-2003 09:32 AM


All times are GMT -5. The time now is 01:47 AM.

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