Lines Matching refs:uid
91 * simple table of all users which we seek based on uid and retrieve a
260 * Retrieve the last login time for the given uid. Will try to use the
276 login_get_lastlog_time(const uid_t uid)
280 if (login_get_lastlog(&li, uid))
300 login_get_lastlog(struct logininfo *li, const uid_t uid)
305 li->uid = uid;
312 pw = getpwuid(uid);
314 fatal("%s: Cannot find account for uid %ld", __func__,
315 (long)uid);
387 li->uid = pw->pw_uid;
506 /* take the uid in li and return the last login time */
1505 /* find this uid's offset in the lastlog file */
1506 offset = (off_t) ((u_long)li->uid * sizeof(struct lastlog));