1753326 Members
4762 Online
108792 Solutions
New Discussion юеВ

User Can't Login

 
SOLVED
Go to solution
Qcheck
Super Advisor

User Can't Login

When a linux user can't login, what is the first place to look into?

Please let me know, how to debug? This is just for an interview question.

Thank you.
5 REPLIES 5
Zinky
Honored Contributor
Solution

Re: User Can't Login

Depending on how the Linux system is secured configured, the following are what you can as an admin check:

1.) Check if user has a login and if user is using that login
2.) Check HOW he is trying to Log in (telnet, ssh, etc)
3.) Check if he is allowed to login (restrictions to time, from where, etc)
4.) Check if his account is locked
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Qcheck
Super Advisor

Re: User Can't Login

Alzhy, Thank you for the response.

Do you mean the login of the user means, login shell? Which is in /etc/passwd?

Thank you
Zinky
Honored Contributor

Re: User Can't Login

By "login" - I mean a user account in the Linux system.

Note: a properly configured Linux System will not give the user a clue as to why it is unable to login except at times for the usual feedback like - expired password, login/user not exist, etc. (it really all depends on how the Linux system was configured/secured)
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Qcheck
Super Advisor

Re: User Can't Login

Thank you, Alzhy.
Qcheck
Super Advisor

Re: User Can't Login

I thought more responses on this, but I don't have anymore, I would like to close the case.