Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 14:31:12 -0800 (PST)
From:      Gabor Esperon <gesperon@yahoo.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Fwd: About *pwent() functions
Message-ID:  <20040121223112.38059.qmail@web11502.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040121223112.38059.qmail>