Path: utzoo!attcan!uunet!bu.edu!purdue!haven!decuac!bacchus.pa.dec.com!shlump.nac.dec.com!cavdog.enet.dec.com!mamros From: mamros@cavdog.enet.dec.com (Shawn Mamros) Newsgroups: comp.unix.ultrix Subject: Re: User Authentication Data Base, Ultrix 4.0 Keywords: passwd auth audcntl(2) Message-ID: <1990Sep4.083017@cavdog.enet.dec.com> Date: 4 Sep 90 12:30:17 GMT References: <417@ucunix.SAN.UC.EDU> Sender: newsdaemon@shlump.nac.dec.com Reply-To: mamros@cavdog.enet.dec.com (Shawn Mamros) Organization: Digital Equipment Corporation Lines: 11 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