tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Code to create accounts under Enhanced Security
@ 1996-12-31 22:54 Bob Sloane
  0 siblings, 0 replies; only message in thread
From: Bob Sloane @ 1996-12-31 22:54 UTC (permalink / raw)
  To: tru64-unix-managers

Hi All,

I need to convert some programs we use to create accounts to run under
DU V4.0.  We use Enhanced Security, and it used to be enough to create
the appropriate file under /tcb/file/auth/u/user, but under V4.0, the
new auth.db files require that I use the putprpwnam() routine to write
the protected password database entries. I looked at using convuser to
convert from the /etc/passwd file, but that seems to require putting
the encrypted password in the /etc/passwd file (security problems) and
it also seems to need to have mkpasswd run before it finds the
username (performance problems.)

Does anyone out there have some simple code to show how the data
structures for putprpwnam() should be initialized?  I looked at the
call to getprdfent() but it returns a pr_default structure, and
putprpwnam() needs a pr_passwd structure.  Some sample code might help
me straighten all this out.
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, Phone: (913) 864-0444, FAX: (913) 864-0485

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-31 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-31 22:54 Code to create accounts under Enhanced Security Bob Sloane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox