Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11th February 2011, 20:56
nomikos nomikos is offline
Junior Member
 
Join Date: Feb 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Talking I screwed up sudoers and I haven't root access (remote server).

This is the hard way to learn when you MUST use visudo, specially in a remote server. That's right. I did something stupid like:

Quote:
$ sudo vi /etc/sudoers
and now have:

Quote:
$ sudo
>>> /etc/sudoers: syntax error near line 79 <<<
sudo: parse error in /etc/sudoers near line 79
sudo: no valid sudoers sources found, quitting
So what if I have locked the root account (passwd -l root) and now I can't do su to fix sudoers file???

As i said this is in a remote server (VPS) so I can not use recovering special tools via CD or similar.

thanks.-
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
sudoers

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix email server problems Access denied 554 554 5.7.1 state 14 AceRimmer Server Operation 4 19th June 2008 14:36


All times are GMT +2. The time now is 16:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.