Authentication service cannot retrieve authentication info
Linux - NewbieThis 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
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Authentication service cannot retrieve authentication info
Hi everyone,
I am fairly new to Linux and have had a few setbacks. The computer I'm using is a Dell Mini 9 with Ubuntu 8.04 (Hardy) so booting from a live CD isn't possible w/out an external CD drive.
I just changed the username in /etc/passwd using "sudo gedit" and when trying to change it in /etc/shadow as well as /etc/group, I was unable to access either because I saved /etc/passwd and the terminal was asking for a password for the new username. That's when I came upon the error "Authentication service can not retrieve authentication info". So I decided to reset the comp hoping to correct the issue.
Now, I can't even log in to Ubuntu because of the username change. I have tried booting from recovery and resetting the password using "passwd username" (the actual username that is) but, again, the authentication problem. I've tried using my old password as well as admin, user, and the username itself but to no avail.
Is there anyway to reset the password or find what it was changed to without being able to log in? Or is there a way to get into /etc/shadow and /etc/group to change the necessary information without going into the terminal after login? I assume any ideas that would involve the sudo command or any of the like aren't going to work because of the password issue.
Thanks for the response Tink. I had no idea about the usermod command. I really wanna kick myself for that one >.<
So at the grub-prompt, should I remove all of the random letters and numbers that follow the "root=" and replace it with my root device (hd0,1)? And I'm not even seeing init anywhere in the kernel.
Sorry for the ridiculous questions but I am quite a "newb" :P
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.