Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: czeranski@informatik.tu-clausthal.de (Joerg Czeranski)
Subject: Re: chroot(1) oddity
Date: 22 Nov 1994 20:22:52 GMT	[thread overview]
Message-ID: <3atjus$sji@ikarus.rz.tu-clausthal.de> (raw)
In-Reply-To: CzBD6C.8xz@info.physics.utoronto.ca

Mark Bartelt (sysmark@helios.physics.utoronto.ca) wrote:
> [...]
>  WALRUS> ls -l */*
>  -rwxr-xr-x   1 0        0            316 Nov 15 09:31 etc/group
>  -rw-r--r--   1 0        0           6241 Nov 15 09:31 etc/passwd
>  -rw-r--r--   1 0        0           4096 Nov 15 09:31 etc/passwd.dir
>  -rw-r--r--   1 0        0          25600 Nov 15 09:31 etc/passwd.pag
>  -rwxr-xr-x   1 0        0         131072 Nov 15 09:31 sbin/cat
>  -rwxr-xr-x   1 0        0         393216 Nov 15 09:31 sbin/ls
>  -rwxr-xr-x   1 0        0         221184 Nov 15 09:31 sbin/sh
>
> [...]
>
> So, is something broken?  Or is some critical file missing from the hierarchy
> that I'm chroot()ing to in the example above?  (And, if the latter, what have
> I overlooked?)  As usual, many TIA.

I think /etc/svc.conf is missing.  It tells getpwuid(3) where to look
for user names (YP or /etc or both).

joerg

--
Joerg Czeranski                 EMail czeranski@informatik.tu-clausthal.de
Osteroeder Strasse 55                 czeranski@rz.tu-clausthal.de
D 38678 Clausthal-Zellerfeld    WWW   http://www.rz.tu-clausthal.de/~injc/

1
2
3 [these lines added to decept our news server]


      parent reply	other threads:[~1994-11-22 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-15 14:49 chroot(1) oddity Mark Bartelt
1994-11-15 20:02 ` SUMMARY: " Mark Bartelt
1994-11-22 20:22 ` Joerg Czeranski [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