[comp.unix.ultrix] Root Directory Mis-Permissioned

yeidel@wsuvm1.csc.wsu.edu (Joshua Yeidel) (03/05/91)

It has happened twice now that users have been unable to login to my DS5000
running Ultrix 4.1.  When I log in as root and try to "su" to a user, I get the
message "No shell."  Checking around, I find that the root directory has
permissions "rw-rw-rw-"!  I change to "rwxr-xr-x" and everything returns to
normal.

Any idea how root is becoming mis-permissioned?
-- Joshua Yeidel

grr@cbmvax.commodore.com (George Robbins) (03/05/91)

In article <1991Mar04.202614.27978@eecs.wsu.edu> yeidel@wsuvm1.csc.wsu.edu (Joshua Yeidel) writes:
> It has happened twice now that users have been unable to login to my DS5000
> running Ultrix 4.1.  When I log in as root and try to "su" to a user, I get the
> message "No shell."  Checking around, I find that the root directory has
> permissions "rw-rw-rw-"!  I change to "rwxr-xr-x" and everything returns to
> normal.

Did you do any filesystem restores?  Ultrix used to have a problem with
changing the protection of the parent directory of mount point of the
file system being restored.  I would hope this was fixed by 4.1, but I
wouldn't bet any great amount of money on it.

I see this problem most frequently when doing a partial restore to /tmp
to extract some files, and then find the protection on /tmp has been
changed from 666 to 755, which causes some strange diseases...

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)