[comp.unix.ultrix] User Authentication Data Base, Ultrix 4.0

edavis@ucunix.SAN.UC.EDU (Ellen Davis) (08/31/90)

	I plan to upgrade my 8650 from Ultrix 3.1 to 4.0 next week and
have a question about the user authentication data base.  I understand
that choosing an ENHANCED level of security, the passwords will be stored
in /etc/atuh.pag.  The present password file will be converted to this
format.  All this is fine, but I am wondering what I am going to need
to do to my adduser program (autoadd which I got off the net somewhere).

How do I update the auth file from a C program ?  I did not recieve all
my docs yet, but edauth has a reference to audcntl(2).  
Is audcntl what I am looking for?  If so can someone mail the man page.  
Or is there a new version of autoadd I can get?

	Also, are there any quirks in 4.0 that I should watch for?
	

-----------------------------------------------------------------------------
| Ellen Davis                                      Ellen.Davis@UC.Edu       |
| Phone: (513) 556-5681                                                     |
| University of Cincinnati Computing Center        edavis@ucunix.san.uc.edu |
| B3 Beecher Hall ML. 088                          edavis@ucbeh.bitnet      |
| Cincinnati, Ohio  45221                          ucbeh::edavis            |
-----------------------------------------------------------------------------

mamros@cavdog.enet.dec.com (Shawn Mamros) (09/04/90)

In article <417@ucunix.SAN.UC.EDU>, edavis@ucunix.SAN.UC.EDU (Ellen Davis)
asks:
|> How do I update the auth file from a C program ? 

The storeauthent(3) routine in the libauth.a library will create or modify
an entry in the /etc/auth database.  /usr/include/auth.h shows what the
structure of an authorization entry looks like.  Note that the a_password
field is encrypted with crypt16(3) and not crypt(3).

-Shawn Mamros
mamros@cavdog.enet.dec.com