Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
randoguy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 77
Location: New Zealand

PostPosted: Fri Sep 26, 2003 8:43 am    Post subject: invalid user Reply with quote

Ok weird problem
I lent my moniter to my mum for a week and ive got it back and whenever i try and login it says "invalid login" and doesnt let me enter a password. It says this when i try 'root' and my day to day user. Wierded still I am able to loging via ssh useing either user. I have been updating to ~x86 over that period (relivent?).
Any help would be great
Back to top
View user's profile Send private message
robdavies
Tux's lil' helper
Tux's lil' helper


Joined: 06 Sep 2003
Posts: 90

PostPosted: Fri Sep 26, 2003 9:14 am    Post subject: Reply with quote

Are you using ~x86 with pam-login-3.12?
I was able to login with X still.
https://forums.gentoo.org/viewtopic.php?t=89507

If you can't get any shell, try single-user boot or init=/bin/sh
Back to top
View user's profile Send private message
nat
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 205

PostPosted: Fri Sep 26, 2003 9:46 am    Post subject: Reply with quote

same thing happens here. I did a emerge and etc-update. I noticed that /etc/pam.d was to be updated but I did it automatically (-5).

edit your /etc/pam.d/login
This works here:
Code:
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
 
account    required     /lib/security/pam_stack.so service=system-auth
 
password   required     /lib/security/pam_stack.so service=system-auth
 
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so
Back to top
View user's profile Send private message
randoguy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 77
Location: New Zealand

PostPosted: Fri Sep 26, 2003 1:01 pm    Post subject: Reply with quote

hmmm that was an improvement it now asks for both username and password before saying "login incorrect" (sorry not invalid user i have to run up and down stairs to get to my gentoo box).
Anything else?
Back to top
View user's profile Send private message
randoguy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2003
Posts: 77
Location: New Zealand

PostPosted: Fri Sep 26, 2003 1:40 pm    Post subject: Reply with quote

PROBLEM SOLVED
I ended up deleting /etc/pam.whatever/logon and remergeing shadow.
All is working again.
Thanks everyone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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