Lines Matching refs:user
7 * easily use something like login -p -h host -f user, because there are
67 * Returns the time when the user last logged in. Returns 0 if the
69 * The host the user logged in from will be returned in buf.
87 store_lastlog_message(const char *user, uid_t uid)
97 time_string = sys_auth_get_lastlogin_msg(user, uid);
103 last_login_time = get_last_login_time(uid, user, hostname,
122 * Records that the user has logged in. I wish these parts of operating
126 record_login(pid_t pid, const char *tty, const char *user, uid_t uid,
132 store_lastlog_message(user, uid);
134 li = login_alloc_entry(pid, user, host, tty);
142 record_utmp_only(pid_t pid, const char *ttyname, const char *user,
147 li = login_alloc_entry(pid, user, host, ttyname);
154 /* Records that the user has logged out. */
156 record_logout(pid_t pid, const char *tty, const char *user)
160 li = login_alloc_entry(pid, user, NULL, tty);