troubleshooting Question

can only su into a user, not console, not ssh

Avatar of mlnpscda
mlnpscda asked on
LinuxSSH / Telnet Software
10 Comments1 Solution1172 ViewsLast Modified:
Hi Folks,

Got an odd one.

I have a centos box that I've inherited the care of, and all the user accounts appear
to behave as expected with one exception, call it 'weirduser'.

the only way to get to 'weirduser' is to

  $  su - weirduser  or
  $  su weirduser

and then put in weirduser's password.

I cannot log into weirduser interactively from a console, or from an ssh session using either keypairs or the password.

Other information:

$ grep weird /etc/passwd

]$ ls -ld /home/weirduser
drwxrws--- 21 weirduser weird 4096 Sep 30 17:40 /home/weirduser

$ su - weirduser
[weirduser ~]$ id
uid=500(weirduser) gid=501(weird) groups=501(weird)

There are no AllowUsers or DenyUsers or AllowGroups or DenyGroups in the sshd_config.

Not sure where to go from here.  Any suggestions?


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros