tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* can't login - "No directory!" or "No shell"
@ 2004-06-24 23:03 kdea
  0 siblings, 0 replies; only message in thread
From: kdea @ 2004-06-24 23:03 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-24 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 23:03 can't login - "No directory!" or "No shell" kdea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox