Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Encrypted password in Enhanced security in DUnix
@ 1998-11-13  5:00 ivandolezal
  1998-11-13  5:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 2+ messages in thread
From: ivandolezal @ 1998-11-13  5:00 UTC (permalink / raw)


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!

Ivan Dolezal

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Encrypted password in Enhanced security in DUnix
  1998-11-13  5:00 Encrypted password in Enhanced security in DUnix ivandolezal
@ 1998-11-13  5:00 ` Nikola Milutinovic
  0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 1998-11-13  5:00 UTC (permalink / raw)


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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-13  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-13  5:00 Encrypted password in Enhanced security in DUnix ivandolezal
1998-11-13  5:00 ` Nikola Milutinovic

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