LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-26-2008, 08:13 AM   #1
limit_me
LQ Newbie
 
Registered: May 2007
Location: Kathmandu, Nepal
Distribution: Ubuntu 8.04
Posts: 10

Rep: Reputation: 0
Post Setting /etc/sudoers trouble


I tried to add a new user in my international server located in US. Unfortunately I did a mistake by replacing sudoers file in /etc/sudoers. I donot know the root password too.Now, I can not use sudo command so can any one help me to recover my system in previous stage.
Regards,
Prabin Dahal
Nepal
 
Old 03-26-2008, 08:22 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
No. If you don't have root access, you cannot change /etc/sudoers.

If you used the command "visudo" as you should, there probably is
a backup file. But still, you must have root access. Contact the
sysadmin of the server and ask for root access again.
 
  


Reply

Tags
login, server, sudo, sudoers, trouble


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
I'm having some trouble setting up Eclipse Agresvig Linux - Software 2 09-08-2007 05:54 AM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 06:03 PM
Trouble setting up Daniel8802 Mandriva 14 09-06-2005 10:04 PM
Trouble setting up internet spids Linux - Hardware 4 03-18-2005 09:30 AM
Having trouble setting up DNS bsurfin Fedora 73 06-21-2004 08:59 AM


All times are GMT -5. The time now is 11:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration