From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kdea@alpine-la.com Newsgroups: gmane.os.tru64.managers Subject: can't login - "No directory!" or "No shell" Date: Thu, 24 Jun 2004 16:03:32 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088118250 27505 80.91.224.253 (24 Jun 2004 23:04:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Jun 2004 23:04:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jun 25 01:04:00 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BddGC-0001cv-00 for ; Fri, 25 Jun 2004 01:04:00 +0200 Original-Received: (qmail 12522 invoked by uid 5); 24 Jun 2004 23:03:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12507 invoked by uid 49501); 24 Jun 2004 23:03:47 -0000 Original-Received: from kdea@alpine-la.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.7/5.0):. Processed in 0.362445 secs); 24 Jun 2004 23:03:47 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 24 Jun 2004 23:03:47 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZU005LB5E9XG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Jun 2004 19:03:46 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HZU00A025DY2H@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Jun 2004 19:03:35 -0400 (EDT) Original-Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZU006KK5DX9Z@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 24 Jun 2004 19:03:34 -0400 (EDT) Original-Received: from user-119bt68.biz.mindspring.com ([66.149.244.200] helo=sneezy.alpine-la.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BddFl-0000QU-00 for tru64-unix-managers@ornl.gov; Thu, 24 Jun 2004 19:03:33 -0400 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Build V60_M14_08012002NP Release Candidate August 01, 2002 X-MIMETrack: Serialize by Router on sneezy/Alpine-La(Release 5.0.12 |February 13, 2003) at 06/24/2004 04:03:33 PM Xref: main.gmane.org gmane.os.tru64.managers:7178 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7178 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