| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-19-2012, 12:22 PM
|
#1
|
|
Member
Registered: May 2012
Posts: 86
Rep: 
|
/etc/sudoers file got corrupted..what to do now ?
Hi,
I have an issue in Linux.
/etc/sudoers file got corrupted and no one from our team were able to root Login.
What to do now ?
How to root login now?
How to sudo login?
Can anybody give me good solution for this issue?
Regards,
Aparna.
|
|
|
|
06-19-2012, 12:41 PM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
What distribution of Linux and what version do you have?
For RedHat derived versions you can do a reboot and interrupt the boot then edit the boot line to add "1" to the end of the line and tell it to boot using that line. This will boot into single user without requiring a password and change the password for root so it allows you to login. (This all has to be done from the system console.)
I'm sure other distros have similar mechanisms but you'd need to specify which one you're using to get the appropriate help.
|
|
|
|
06-19-2012, 01:01 PM
|
#3
|
|
Member
Registered: May 2012
Posts: 86
Original Poster
Rep: 
|
Hi,
Thanks for your quick reply to my question.
I would like to know, Is their any system configuration tool called PUPPET which fixes these type of Issues ?
Can anybody help me in knowing how this puppet tool works in fixing /etc/sudoers file corrupted issues ?
Regards,
Aparna.
---------- Post added 06-19-12 at 01:01 PM ----------
Hi,
Thanks for your quick reply to my question.
I would like to know, Is their any system configuration tool called PUPPET which fixes these type of Issues ?
Can anybody help me in knowing how this puppet tool works in fixing /etc/sudoers file corrupted issues ?
Regards,
Aparna.
|
|
|
|
06-19-2012, 01:54 PM
|
#4
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
Puppet is management tool and it would only fix "these kinds of issues" if it were already installed and managing the box.
You can't work around the issue by looking at new applications to install because any such install would almost certainly require root access to install and/or configure.
You still haven't provided your Linux distribution and version information.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:33 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|