Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 1996 15:06:59 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        balu@dva.in-berlin.de (Boris Staeblow)
Subject:   Re: Problems with login except root
Message-ID:  <199609291307.PAA07088@uriah.heep.sax.de>
In-Reply-To: <m0v7Jd3-000GPkC@dva.in-berlin.de> from Boris Staeblow at "Sep 29, 96 01:01:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Boris Staeblow wrote:

> login: /bin/sh: Permission denied
> Connection closed by foreign host.
> 
> [root@reido] /u2/root {ttyp0}:man
> Couldn't open /usr/libexec/ld.so.
> 
> 
> The permissions are ok:
> 
>    1 drwxr-xr-x  18 root  wheel      512 Apr 28 10:36 usr/
>    1 drwxr-xr-x   5 bin   bin    1024 Sep 29 12:02 libexec/
>   68 -r-xr-xr-x   1 bin   bin      65536 Sep 28 18:11 ld.so*
> 
> 
>    1 drwxr-xr-x   2 bin   bin        512 Sep 28 22:03 bin/
> 324 -r-xr-xr-x  1 bin  bin  327680 Sep 28 22:03 sh*

Have you screwed the permissions of your root directory?  Have you
screwed the permissions of the /usr _mount point_?  (For the latter,
you cannot actually see this, since it's now shadowed by the root dir
of the /usr filesystem.  But if the mount point within the root f/s
has too restrictive permissions, you get something similar to the
above, except that /bin/sh should not be affected.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609291307.PAA07088>