Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

authentication on OpenBSD 3.1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I'm writting a programm which needs to authenticate the user, who login. So I tried to use auth_userokay(). The first time I log in it works but then the login always fails.

The deamon forks() for every user, maybe this is a problem! What can I do against it?

I also tried to use auth_usercheck() but it returns an auth_session pointer, and I can't check if the login was successful or not. So how can I do this ?

thanks in advance
hans
 
getpass() comes in mind ? be more detailed about your app - is it started from inetd or listens by itself ( inetd is easier for beginning not to hurt yourself too much w socket IOCTLs)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top