Solved

Urgent : Account Can't login on ssh (linux)

Posted on 2011-09-23
7
382 Views
Last Modified: 2012-08-14
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.
0
Comment
Question by:cismoney
7 Comments
 
LVL 7

Expert Comment

by:gnurl
ID: 36586248
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
 
LVL 5

Expert Comment

by:balasundaram_s
ID: 36587971
That account (user id) might be expired, check using the following command

# chage -l  userid

Use 'man chage' for more info.
0
 
LVL 9

Expert Comment

by:parparov
ID: 36588299
If the connection is being established, consult /var/log/auth* or /var/log/secure* for details.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:cismoney
ID: 36591486
question :

@balasundaram : If the user account is expired , what is the command to reactivate it.
0
 
LVL 5

Expert Comment

by:hossamshaaban
ID: 36592056
chage -d currentdate username
0
 

Author Comment

by:cismoney
ID: 36598626
i can't see the informations when i use chage. May be because its a service account
0
 
LVL 2

Accepted Solution

by:
KishorDas earned 500 total points
ID: 36707787
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question