From: John McNulty <knode1@jmtl.com-nospam>
Subject: Re: su - users ->> No directory !!!
Date: Fri, 07 Dec 2001 11:45:07 +0000 [thread overview]
Message-ID: <u11aurj0m3ku31@corp.supernews.com> (raw)
In-Reply-To: 3C0FBD41.E1D4D85@smbc-cm.com
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
prev parent reply other threads:[~2001-12-07 11:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 11:05 su - users ->> No directory !!! Thierry
2001-12-06 18:47 ` Oisin McGuinness
2001-12-07 11:45 ` John McNulty [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox