On Mon, Sep 16, 2002 at 12:19:42PM -0400, Stephen Frost wrote: > will require different things. Obviously sensible testing should be > used to see if a user exists (not sure what is there now, obviously > grep'ing the passwd file doesn't cut it tho). See getent(1) from libc6. Used like in: david@zion:~$ getent passwd root root:x:0:0:root:/root:/bin/bash david@zion:~$ And uses the glibc NSS stuff. Regards, David -- Afrika kommt nach Europa. Das ist der Kontinentaldrift. Da kann man auch mit einem neuen Asylgesetz nichts dagegen machen. Das sollte mal wer denen von der FPÖ erklären! -- Dieter Nuhr (www.nuhr.de) in der Wiener Remise, 2002-08-02
Attachment:
pgp5B7vaiY2L0.pgp
Description: PGP signature