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.
Williams225System AdministatorAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
KishorDasConnect With a Mentor Commented:
For most of the service account, they are configured with no login shell, when you are trying to have a remote login, that is why it creates problem. Assign a login shell for that user account and then retry.

Thanks.

Kishor Kumar Das
0
 
gnurlCommented:
Hi, try
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
0
 
balasundaram_sCommented:
That account (user id) might be expired, check using the following command

# chage -l  userid

Use 'man chage' for more info.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
parparovCommented:
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
0
 
Williams225System AdministatorAuthor Commented:
question :

@balasundaram : If the user account is expired , what is the command to reactivate it.
0
 
hossamshaabanCommented:
chage -d currentdate username
0
 
Williams225System AdministatorAuthor Commented:
i can't see the informations when i use chage. May be because its a service account
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.