[LTP] IDcheck.sh - awk problem

Michal Simek
2009-07-08T06:11:20Z

Hi All,

There will be good to prevent missing /etc/passwd for installing to
different folder.

export DESTDIR=`pwd`/nfs
mkdir -p nfs
make install

Thanks,
Michal

Checking for required user/group ids

awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
bin => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
daemon => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
nobody => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
bin => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
daemon => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
nobody => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
sys => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
users => 2
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
nobody => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
nobody => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
bin => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
bin => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/group' for reading (No
such file or directory)
daemon => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
daemon => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
users => 2
awk: cmd. line:1: fatal: cannot open file
`/home/projects/xils/ltp-microblaze.git/nfs/etc/passwd' for reading (No
such file or directory)
sys => 2
Required users/groups exist.

--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663