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 /etc/shadow file do not have any permission ?
what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?
how do you configure linux system as a router?
what is the difference between fork and thread ? and parent and child process in fork system call?
how to recollect root password
How to convert an IP address to a Domain name using Unix ?
someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?
What is the difference between an argument and an option/switch?
What are RPM?s, what do they offer?
How to Trouble shoot performance issue in RHEL administration ? please give to one example
what is the difference betweenh the NFS and FTP?
How do i check which nfs version I am using ????????