From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5f38e5e28d081a6d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-22 13:36:31 PST Path: nntp.gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!ikarus.rz.tu-clausthal.de!idefix.rz.tu-clausthal.de!injc From: czeranski@informatik.tu-clausthal.de (Joerg Czeranski) Newsgroups: comp.unix.osf.osf1 Subject: Re: chroot(1) oddity Date: 22 Nov 1994 20:22:52 GMT Organization: TU Clausthal, IfI Message-ID: <3atjus$sji@ikarus.rz.tu-clausthal.de> References: NNTP-Posting-Host: idefix.rz.tu-clausthal.de X-Newsreader: TIN [version 1.2 RZ-TUC(2) PL2] 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]