Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* su - users ->> No directory !!!
@ 2001-12-06 11:05 Thierry
  2001-12-06 18:47 ` Oisin McGuinness
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry @ 2001-12-06 11:05 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: su - users ->> No directory !!!
  2001-12-06 11:05 su - users ->> No directory !!! Thierry
@ 2001-12-06 18:47 ` Oisin McGuinness
  2001-12-07 11:45   ` John McNulty
  0 siblings, 1 reply; 3+ messages in thread
From: Oisin McGuinness @ 2001-12-06 18:47 UTC (permalink / raw)


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.

-- 

Oisin McGuinness

SMBC Capital Markets
277 Park Avenue
New York NY 10172
USA

(212)-224-4913, email: oisin@smbc-cm.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: su - users ->> No directory !!!
  2001-12-06 18:47 ` Oisin McGuinness
@ 2001-12-07 11:45   ` John McNulty
  0 siblings, 0 replies; 3+ messages in thread
From: John McNulty @ 2001-12-07 11:45 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-07 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox