can't login - "No directory!" or "No shell"

From: <kdea_at_alpine-la.com>
Date: Thu, 24 Jun 2004 16:03:32 -0700

Dear Managers,

I have a strange problem. I suddenly have users not being able to log into
a Tru64 5.1 box. When they telnet in, it will print their "Last login:"
time and place, then print "No directory", and immediately log them out.

If they use ssh, then the erro message is "sshd[3609]: WARNING: Could not
chdri into home directory /usr/users/[username]: Permission denied", print
"Last login", then print "No directory", and immediately log out.

Root can log in fine. But when I try to su to a user, I get "No shell".

The /usr/users directory is there, and permissions seem fine. The
/etc/passwd file is there, and permissions seem fine (we actually use NIS,
but this problem is only happening on one machine at first). The
/etc/shells and /etc/group file is there, and permission seems fine.

At first I suspected a rootkit had broken my /bin/login, but I now believe
it was the removal script of the old APC powerchute 4.2.2 software that
broke everything. I have gone through the script, and it dosen't do much,
but remove a S*upsd file from /sbin/rc3.d. But I still believe that is
still a problem since a second machine that no one uses exhibited the same
problem after the APC powerchute software was installed and removed. Just
to be sure, I check my /bin/login, and it seems to be the real thing with
/bin/cksum.

Can someone point me to what else could have been screwed up?

TIA


--
Kevin Dea
UNIX System Administrator
Alpine Electronics Research of America
Received on Thu Jun 24 2004 - 23:05:26 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT