From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,dc1e8a37c6d57dda,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,dc1e8a37c6d57dda,start X-Google-Attributes: gidfee84,public From: jagra@telepac.pt (JAgra) Subject: Q : Digital Unix 4.0 login problem : 'No directory!' & 'No shell!' Date: 1997/03/12 Message-ID: <5g504i$g19@duke.telepac.pt>#1/1 X-Deja-AN: 224806747 Organization: Conta Pr�pria sa. Newsgroups: comp.unix.osf.osf1,comp.unix.questions Hi, We have a problem in a DEC Unix related to logins. We can't access that machine except via root logins. The login process ( I think ) reports an error : 'No directory!' if login in under normal login prompt or doing 'su - someuser' and reports 'No shell !' if we do 'su someuser' :( There's no problem with directories since they all exist and pwck gives no warnings on that, the same applies to the shell. The system was working fine until we had a problem in a secondary disk and lost sme filesystems. There was no big problem since we had no data in it at the time. We have also configured the NFS server on the machine since the failure. The problem was only detected after those changes were made in the system so we can't point the finger on any precise cause.Also, /etc/passwd was edited directly with vi and someone told us that the problem might be there. Since that, we have executed 'mkpasswd -v /etc/passwd' after removing ( and also without doing it ) the passwd.pag and passwd.dir files without any results, and all editing is now made via vipw :( The system is in BASE security mode, if that matters ... This is probably a stupid problem but it's there and we can't solve it.Does anyone knows a solution ? We need to put that machine up and running fast. Any help will be appreciated. Thanks in advance. Jorge Agra