LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07: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, 07:22 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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



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 04: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 05:03 PM
Trouble setting up Daniel8802 Mandriva 14 09-06-2005 09:04 PM
Trouble setting up internet spids Linux - Hardware 4 03-18-2005 08:30 AM
Having trouble setting up DNS bsurfin Fedora 73 06-21-2004 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 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
Open Source Consulting | Domain Registration