Fwd: About *pwent() functions

Gabor Esperon gesperon at yahoo.com
Wed Jan 21 14:33:36 PST 2004


I need some function to add a user to the system,
something like the addpwent implemented in pw(8) user
and program but freebsd only have functions like:

  getpwent(3)
  getpwent_r(3)
  getpwnam_r(3)
  getpwuid(3)
  getpwuid_r(3)
  setpassent(3)
  setpwent(3)
  endpwent(3)
 
to get information from the system but nothing to add
a user or group to them... any one could help me??

=====
Gabor
Net/Sys Admin

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


More information about the freebsd-questions mailing list