search for: set_pam_entry

Displaying 1 result from an estimated 1 matches for "set_pam_entry".

Did you mean: set_p2m_entry
1999 Dec 27
2
Suggestion: login.c->record_login()
...ss a superstructure containing all the information we have to functions that handle exactly one of utmp, utmpx, wtmp, wtmpx, lastlog, or whatever else comes along. *Then* we could use #ifdef to call the right code. One way might be: #ifdef LINUX /* Linux: Do the business with PAM <cough> */ set_pam_entry (struct logindata l); /* ... whatever else Linux needs ... */ #endif /* LINUX */ #ifdef HPUX /* HPUX: Do things the hard way * no lastlog, utmp *and* utmpx, wtmp */ set_utmp_entry (struct logindata l); set_utmpx_entry (struct logindata l); set_wtmp_entry (struct logindata l); #endif /* HPUX *...