Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems logging in...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
disturbed
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 216
Location: Belgium , Antwerp

PostPosted: Wed Jul 14, 2004 4:37 pm    Post subject: problems logging in... Reply with quote

hi,

I recently suffered from a harddrivecrash , I had a backup so a lot of things were restored. I took a tarball and compiled gentoo from stage 1.
I used my old kernel (2.6.4) with the modules.
now my system boots fine but when I get to the login part and I type in my username and pass I get this error :
Quote:

login(pam_unix)[4912]:authentication failure; logname=uid=0 euid=0 tty=/dev/vc/1 ruser= rhost = user=root
login[4912]:FAILED LOGIN 1 FROM /dev/vc/1 FROM ROOT,authentication failure
login incorrect

anyone knows what this error is all about ?

thx & grtz

Disturbed
_________________
A computer is like airconditioning. When you open windows, it doesn't work.
Back to top
View user's profile Send private message
YopWongSapn
l33t
l33t


Joined: 26 Jan 2004
Posts: 627

PostPosted: Wed Jul 14, 2004 4:44 pm    Post subject: Reply with quote

Did you copy your passwd file from before the crash, or did you manually add your username again? Copying passwd files can get messy...I'd recommend manually adding users.
_________________
Gentoo...it's like wiping your ass with silk. Or sandpaper.
Back to top
View user's profile Send private message
CompNerd
Retired Dev
Retired Dev


Joined: 16 Mar 2003
Posts: 311
Location: 127.0.0.1

PostPosted: Wed Jul 14, 2004 4:44 pm    Post subject: Reply with quote

For some reason its not accepting your password. What you can do is boot off the live cd and chroot and reset your root password. Once you do that, reboot, and then login as root. Then reset the passwords for the other accounts, and the machine should be useable again.

CompNerd
Back to top
View user's profile Send private message
disturbed
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 216
Location: Belgium , Antwerp

PostPosted: Wed Jul 14, 2004 4:57 pm    Post subject: Reply with quote

well the thing is I booted from the livecd and reseted my passwd. I even added a new user but I still get this error...
_________________
A computer is like airconditioning. When you open windows, it doesn't work.
Back to top
View user's profile Send private message
CompNerd
Retired Dev
Retired Dev


Joined: 16 Mar 2003
Posts: 311
Location: 127.0.0.1

PostPosted: Wed Jul 14, 2004 10:10 pm    Post subject: Reply with quote

Hmm, did you reset the password for yourself or the root user?

CompNerd
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Thu Jul 15, 2004 7:01 am    Post subject: Reply with quote

Have you tried booting from the livecd, chroot'ing then removing the pw from /etc/shadow and logging in with no pw, then changing once logged in? Ive done this before on solaris but havent tried it on gentoo, it may be something to try............
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
disturbed
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 216
Location: Belgium , Antwerp

PostPosted: Sat Jul 17, 2004 11:59 am    Post subject: Reply with quote

gnuageux wrote:
Have you tried booting from the livecd, chroot'ing then removing the pw from /etc/shadow and logging in with no pw, then changing once logged in? Ive done this before on solaris but havent tried it on gentoo, it may be something to try............

hey thx that worked just fine !

grtz
_________________
A computer is like airconditioning. When you open windows, it doesn't work.
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Sat Jul 17, 2004 12:02 pm    Post subject: Reply with quote

Sweet!
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum