Searched refs:lastlog (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10.1/Libc-1044.1.2/include/
H A Dutmp.h69 * in 64-bit computing, may corrupt the utmp, wtmp and lastlog files.
80 #define _PATH_LASTLOG "/var/log/lastlog"
86 struct lastlog { struct
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dincludes.h74 # include <lastlog.h>
H A Dloginrec.c50 ** loginrec.c: platform-independent login recording and lastlog retrieval
89 * Retrieving the time of last login ('lastlog') is in some ways even
129 * login time. It uses local system lastlog support if it can,
257 * system lastlog facilities if they are available, but will fall back
265 * DISABLE_LASTLOG: If set, *never* even try to retrieve lastlog
267 * USE_LASTLOG: If set, indicates the presence of system lastlog
269 * try to retrieve lastlog information from wtmp/wtmpx.
283 * login_get_lastlog(struct logininfo *, int) - Retrieve a lastlog entry
286 * information from the system lastlog data, or from wtmp/wtmpx if no
287 * system lastlog informatio
[all...]
H A Dconfigure1391 --disable-lastlog disable use of lastlog even if detected no
1442 --with-lastlog=FILE|DIR specify lastlog location common locations
6139 # lastlog.h requires sys/time.h to be included first on Solaris
6140 for ac_header in lastlog.h
6142 ac_fn_c_check_header_compile "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" "
7024 conf_lastlog_location="/usr/adm/lastlog"
7082 # hardwire lastlog location (can't detect it on some versions)
7083 conf_lastlog_location="/var/adm/lastlog"
[all...]
/macosx-10.10.1/OpenSSH-189/openssh/contrib/cygwin/
H A Dssh-host-config393 if ! chown "${run_service_as}".544 ${LOCALSTATEDIR}/log/lastlog >/dev/null 2>&1
395 csih_warning "Couldn't change owner of ${LOCALSTATEDIR}/log/lastlog!"
692 # Create /var/log/lastlog if not already exists
693 if [ -e ${LOCALSTATEDIR}/log/lastlog -a ! -f ${LOCALSTATEDIR}/log/lastlog ]
696 csih_error_multi "${LOCALSTATEDIR}/log/lastlog exists, but is not a file." \
699 if [ ! -e ${LOCALSTATEDIR}/log/lastlog ]
701 /usr/bin/cat /dev/null > ${LOCALSTATEDIR}/log/lastlog
702 if ! /usr/bin/chmod 644 ${LOCALSTATEDIR}/log/lastlog >/dev/null 2>&1
704 csih_warning "Can't set permissions on ${LOCALSTATEDIR}/log/lastlog!"
[all...]
/macosx-10.10.1/system_cmds-643.1.1/login.tproj/
H A Dlogin.c229 static struct lastlogx lastlog; variable in typeref:struct:lastlogx
438 /* get lastlog info before PAM make a new entry */
440 getlastlogxbyname(username, &lastlog);
1375 if (*lastlog.ll_line) {
1377 24-5, (char *)ctime(&lastlog.ll_tv.tv_sec));
1378 if (*lastlog.ll_host != '\0')
1380 (int)sizeof(lastlog.ll_host),
1381 lastlog.ll_host);
1384 (int)sizeof(lastlog.ll_line),
1385 lastlog
[all...]
/macosx-10.10.1/Libc-1044.1.2/gen/
H A Dutmpx-darwin.c384 * search for lastlog entries, but for wtmp, we have to search
1047 * combination of utmp, wtmp and lastlog to write. UTMP_COMPAT_UTMP1 will
1104 struct lastlog l;
1130 off = (off_t)pw.pw_uid * sizeof(struct lastlog);
1144 lock.l_len = sizeof(struct lastlog);
1244 * Write all the necessary files (utmp, wtmp, lastlog), depending on the
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dauth.c113 #include <lastlog.h>
1836 * This will automatically create a lastlog entry, as well as
1848 struct lastlog ll;

Completed in 319 milliseconds