From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8e822ee508f38c9d X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: Encrypted password in Enhanced security in DUnix Date: 1998/11/13 Message-ID: <364C86BA.E7DA9F43@EUnet.yu>#1/1 X-Deja-AN: 411563499 Content-Transfer-Encoding: 7bit References: <72hc20$1l6$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@EUnet.yu X-Trace: SOLAIR2.EUnet.yu 910984942 16267 194.247.199.9 (13 Nov 1998 19:22:22 GMT) Organization: Me organized? Not here! Mime-Version: 1.0 NNTP-Posting-Date: 13 Nov 1998 19:22:22 GMT Newsgroups: comp.unix.osf.osf1 ivandolezal@my-dejanews.com wrote: > > Hi everybody, > > I've got a small difficulty: I am a root of Digital Unix 4.0d and I need to > read an encrypted password from Enhanced Security database. When I tried this > small program: > ---------- > #include... > void main() { > struct es_passwd *spwd; > spwd = getespwnam("dol72"); /* This user exists. */ > return; > } > ---------- > The error message was displayed: "Authentication database use not initialized > first" > > I believe that I AM running Enhanced Security (/var/tcb/files/auth.db > refreshes). > > What did I wrong? Thanks for wise advice! It's a known feature. See man for set_auth_parameters system call. Nix.