Home | History | Annotate | Download | only in dropbear

Lines Matching refs:login

29  ** loginrec.c:  platform-independent login recording and lastlog retrieval
35 The new login code explained
38 This code attempts to provide a common interface to login recording
39 (utmp and friends) and last login time retrieval.
43 system login record structures one finds on UNIX variants.
55 For login recording, we try to use the local system's libraries as
57 this usually means login() and logout() or setutent() etc., probably
70 Retrieving the time of last login ('lastlog') is in some ways even
71 more problemmatic than login recording. Some systems provide a
76 we look backwards in the wtmp or wtmpx file for the last login entry
83 In OpenSSH all login recording and retrieval is performed in
84 login.c. Here you'll find working examples. Also, in the logintest.c
110 login time. It uses local system lastlog support if it can,
189 ** platform-independent login functions
192 /* login_login(struct logininfo *) -Record a login
229 * meant to carry the information required to portably record login info.
258 * the information required to portably record login info.
333 "Attempt to write login records by non-root user (aborting)");
678 /* This is a slightly modification of code in OpenBSD's login.c */
960 /* Notes on fetching login data from wtmp/wtmpx
968 * ut_type==USER_PROCESS (indicating a login.)
971 * to indicate a login process. I don't know of any as I write. Also,
976 /* return true if this wtmp entry indicates a login */
1131 /* Return true if this wtmpx entry indicates a login */
1214 ** Low-level libutil login() functions
1228 login(ut);
1250 * login, but no logout? what if logout but no logwtmp? All
1314 /* open the file (using filemode) and seek to the login entry */