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_at_kuhub.cc.ukans.edu, Phone: (913) 864-0444, FAX: (913) 864-0485
Received on Wed Jan 01 1997 - 00:20:28 NZDT