Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Location: Naval Air Weapons Station China Lake, CA
Posts: 8
Rep:
Hungry Computer
Does anybody know how to re-install a root user ID? To login into administration mode (super-user) I would use this information on the prompt screen:
Login name: root
Login password ********
For some reason however, my access is denied. I can no longer access Root options. I can still log in under my non-superpower mode just fine:
Login name: ruxban
Login password: billy2!
Here's the deal. I still remember my root password. I just don't have the login name anymore. I think my computer ate it. How do I assign one? I have no administrative power, and I don't want to re-install Linux. Is there a generic Login Name you could use along with your Root password that I don't know about? Is there a way to access Root Functions through the Terminal program?
Any help would be appreciated. I currently have Linux for Dummies sitting on my desk, and I barely understand that, so I might be just missing something.
Simple Terms: No Root access. Remember Root password. Need Root Login name. Help. SOS. AFLAC!!!!!
"su" seems a good approach to start with. Once logged in as root, you should be able to look at /etc/passwd to find out the username (which is usually 'root', but doesn't have to be).
Just a final pointer: don't ever post or give anyone else your passwords! Not for root or any other account.
Are you trying to log in with a GUI like GDM/KDM (that is NOT the command line login?). Then root access might just be denied in the display manager and you can change this in the configuration tool/file (kcontrol for KDE with KDM).
theoretically you should be able to access /etc/passwd with a regular user account too on most distros. You should check it to see what users you have.
And you said it worked before, and then it suddenly just stopped working, without you modifying anything? try to remember what caused it to "dissapear".
Location: Naval Air Weapons Station China Lake, CA
Posts: 8
Original Poster
Rep:
Quote:
Originally Posted by Valkyrie_of_valhalla
theoretically you should be able to access /etc/passwd with a regular user account too on most distros. You should check it to see what users you have.
And you said it worked before, and then it suddenly just stopped working, without you modifying anything? try to remember what caused it to "dissapear".
Here is the what I'm getting now. Any other suggestions?
What I was doing: I was installing plug-ins off the Linux website. After Installing a few, my computer prompted me to "restart" to save changes. When I restarted, Administative options were no longer in exsistence. Using the login name (root) and my password, I was told Invalid login.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.