LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 08-12-2009, 04:22 PM   #1
joshb166
LQ Newbie
 
Registered: Aug 2009
Posts: 2

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

Any help would be greatly appreciated.

-Josh
 
Old 08-12-2009, 04:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Hi, welcome to LQ!

I'm afraid that short of the "booting of live CD from external media" you
won't have much joy. There's an old trick you may be able to try:

on the grub-prompt edit the line for the kernel, and make it
root=<your root device> init=/bin/bash

Better get familiar with nano or vi.

The issue arose because you chose to manually change the username
in those files. The usermod command was what you needed to use.


Cheers,
Tink

Last edited by Tinkster; 08-12-2009 at 04:38 PM.
 
Old 08-13-2009, 01:03 AM   #3
joshb166
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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

Last edited by joshb166; 08-13-2009 at 01:05 AM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
su: Authentication service cannot retrieve authentication info. r11_kaede Linux - Newbie 3 05-17-2009 12:10 PM
Authentication service cannot retrieve authentication info - for new user yosial Linux - Newbie 2 10-28-2008 11:30 PM
Authentication service cannot retrieve authentication info Moffett67 Linux - Software 3 12-13-2007 03:16 AM
Authenticatin Service cannot retrieve authentication info sdandeker Linux - Security 3 04-03-2004 12:51 AM
wireless shared internet service: which authentication implementation? F1uX Linux - Security 3 01-21-2004 06:43 AM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration