Williams225
asked on
Urgent : Account Can't login on ssh (linux)
Hi,
an account can't login on the server via ssh. what can i do?? what are the different steps to troubleshoot it on linux.
the account is a service account used by an application.
an account can't login on the server via ssh. what can i do?? what are the different steps to troubleshoot it on linux.
the account is a service account used by an application.
That account (user id) might be expired, check using the following command
# chage -l userid
Use 'man chage' for more info.
# chage -l userid
Use 'man chage' for more info.
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
ASKER
question :
@balasundaram : If the user account is expired , what is the command to reactivate it.
@balasundaram : If the user account is expired , what is the command to reactivate it.
chage -d currentdate username
ASKER
i can't see the informations when i use chage. May be because its a service account
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ssh -vvv <user>@<host> to get more information about the problem.
Check the log files an the server itself maybe /var/log/messages..
Good luck
gnurl