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 |
Without Using $date -dyesterday. How I get the yesterday's date ?
what is the gate of ftp server in redhat linux?
what is the difference betweenh the NFS and FTP?
What is LILO?
What is the name and path of the main system log?
How find out drivers of installed devices in linux (RHEL)?
How do display error messages instantly when command fails?
How to check all open ports on linux machine and block unsed ports????????
what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?
What are the differences between FTP , NFS , SAMBA servers explain separately.
i want some basic level enterview questions can any one can help me in this
What is the complete name of the default configuration file for LILO?