Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-26-2008, 07:13 AM   #1
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.
Prabin Dahal
Old 03-26-2008, 07:22 AM   #2
Bruce Hill
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
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.


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 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 > Forums > Linux Forums > Linux - Newbie

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