#include <pwd.h>

 

main ()


 

{

 struct passwd *p;

 

 while(p=getpwent ())

 

 printf("%s:%s:%d:%d:%s:%s:%s\n", p->pw_name, p->pw_passwd,

  p->pw_uid, p->pw_gid, p->pw_gecos, p->pw_dir, p->pw_shell);

 

}

 


