4 * a setuid helper program for machines which use shadow passwords
5 * by Nathan Bryant, March 1999
16 #include <sys/types.h>
20 #include "citadel_dirs.h"
30 read(0, &uid
, sizeof(uid_t
)); /* uid */
31 read(0, buf
, 256); /* password */
35 if (validate_password(uid
, buf
)) {