1834644 Members
2039 Online
110069 Solutions
New Discussion

Re: Login problem

 
SOLVED
Go to solution
hangyu
Regular Advisor

Login problem

one login a/c has login problem , when he login , after input a/c and password , it will back to the login prompt , I sure the password is correct . if password is not correct , it will show "password incorrect" message , if expired , it should show "account expired" message , if force change password , it will ask to change password , but now , no any message but only back to the login prompt , can advise what is wrong ? thx
6 REPLIES 6
Fabian Briseño
Esteemed Contributor
Solution

Re: Login problem

Hello
Just this user is having trouble loging in ?

maybe your /etc/passwd file is corrupt.

or his /home/ directory is corrupt
Knowledge is power.
hangyu
Regular Advisor

Re: Login problem

thx reply,

I think it is not the corruption problem of /etc/password as only one user has problem .

I have more information about the problem , the user don't have login for many time , the password should be expired , thx
MarkSyder
Honored Contributor

Re: Login problem

Is this a NIS user? If so, does the fault follow him if he tries a different workstation? Can other users login on his workstation?

If the fault is definitely with the user I would suggest logging in as root and changing his password.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Fabian Briseño
Esteemed Contributor

Re: Login problem

Try to recreate the user give him another password using the root acount.

Does your syslog.log file report anything ?

Im not sure if this applies but are you using telnet or ssh ?

Knowledge is power.
Peter Nikitka
Honored Contributor

Re: Login problem

Hi,

is the HOME directory of that user NFS mounted?
Check via the .profile of the user; as well you could see other stuff executed there which delays further processing of the login process.

Put as the first line in the .profile of the user:

set -x

If there is a processing depending on the username in /etc/profile, you'll have to check this as well.

It would be inetresting, if the login hangs only at one special host or for all/many ones.

mfG Peter

The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Sp4admin
Trusted Contributor

Re: Login problem

Hi,

Have you tried to "getprpw -r -m lockout userid" yet? if the account is locked then use "modprpw -k userid" this will unlock the account. If it still doesn't work remove the user and try to add them again.

sp,