From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b6c7d964a1289d68 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-07 03:45:31 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: John McNulty Newsgroups: comp.unix.tru64 Subject: Re: su - users ->> No directory !!! Date: Fri, 07 Dec 2001 11:45:07 +0000 Organization: J M Technology Ltd Message-ID: References: <3C0FBD41.E1D4D85@smbc-cm.com> User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:6162 Oisin McGuinness wrote: > Thierry wrote: >> >> I can log on the server only as root. when I make a 'su - user' or a >> 'su user', I have these error : No directory and No shell. >> >> But >> >> in /bin directory sh csh and ksh exist >> file shells is ok >> Home directory exists with right permissions >> >> I create a new user but the problem is the same. >> >> The hard disks are ok and the mount point also. >> >> Thanks for your assistance > > A few days ago someone on the alpha managers mailing list had a similar > problem; visit http://www.tru64.org/ for a convenient search button. > In that case, it turned off the directory / had lost its rx permissions > for all users. You might have > an intermediate directory (between / and the home dir) which lost its rx > permissions. > A auitable > chmod a+rx / > might help. That might be symptomatic of some more severe damage, like someone has done a recursive chmod or chown. It might be a good idea to give base system files a check. First locate the base system subset ID, this will depend of the version you have installed. Then do: # cd / # fverify -n < /usr/.smdb./OSFBASEXXX.inv | tee /tmp/result wrong ownership and permissions will stand out like a sore thumb. John