User unable to login in server then how can u troubleshooting it?
Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?
Answers were Sorted based on User's Feedback
Answer / ganesh kumar
1)Passwd expired r not
# usermod -l username
2)User is locked r not using the command
# passwd -u username -to unlock the user
3)passwd file problem
if any change in /etc/passwd file r /etc/shadow file
4)change the passwd
#passwd
5)The default permission for security file is 600 when the
value is changed,we can't login
#ls -ld /etc/secur
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shisheer
kindly check the username and password .or user account may
expired
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / lokesh bisht
First check basics
1 user is easily getting access without any interruption.
That's mean server is up and SSH is running on the server
perfect.
First check client side.
Is he getting login prompt if yes..issue can be wrong
username and password.
If no
First check network cable and ip address..and possible try
to login other server from that machine.
Server side.
First check Logs in /var/log/secure...you will be get break
through point for troubleshoot.
Check user is available on server with proper configuration
with chage, files etc.
If still user facing issue with login...so change password
then try it.
As per my personal experience, user never told you that i
forget the password, they will try to sit on your shoulder..
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / saravanan
1.ssh running or not in client side
2.check network connection(ping and see)
3.check hostname or ip address correct
4.firewall or selinux check
5.then other end verify the users accounts related things(like password lock,account disabled or not..etc)
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh ragireddy
1. user or password locked
2. issues in /etc/passwd and /etc/shadow
3. check user has been restricted in /etc/hosts.deny
4. user account or password has been expired.
5. SSH key problem.
6. if remote user check with NIS or LDAP server is binding or not.
7. Check any network related issues.
Is This Answer Correct ? | 0 Yes | 0 No |
Why is it suggested to disable journalism in ext4 filesystem?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
You want to create a compressed backup of the users' home directories. What utility should you use?
Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?
How to sort a file of size 2N bytes, if I have N bytes of memory?
How to check all open ports on linux machine and block unsed ports????????
Without Using $date -dyesterday. How I get the yesterday's date ?
what is the difference between NIS and DNS...?
1 which file contains information about os wether it's 32 bit or 64 bit os 2 difference between logical block and physical block?? 3 what is the size of logical block and physical block?? 4 daemon for nfs on client end as well as server end??? 5 how to confirm from client end about nfs server sharing?? 6 what contains information about file and directory creating time or modification time??
what is difference between inetd and xinetd
plz mention some interesting problems you faced and how you solved it?
How to convert an IP address to a Domain name using Unix ?