Lines Matching refs:pw_name
273 setproctitle("%s", authctxt->pw->pw_name); in do_authenticated()
780 record_utmp_only(pid, s->tty, s->pw->pw_name, in do_pre_login()
868 record_login(pid, s->tty, pw->pw_name, pw->pw_uid, in do_login()
1165 child_set_env(&env, &envsize, "USER", pw->pw_name); in do_setup_env()
1166 child_set_env(&env, &envsize, "LOGNAME", pw->pw_name); in do_setup_env()
1168 child_set_env(&env, &envsize, "LOGIN", pw->pw_name); in do_setup_env()
1197 _PATH_MAILDIR, pw->pw_name); in do_setup_env()
1408 logit("User %.100s not allowed because %s exists", pw->pw_name, nl); in do_nologin()
1488 if (setlogin(pw->pw_name) < 0) in do_setusercontext()
1495 if (initgroups(pw->pw_name, pw->pw_gid) < 0) { in do_setusercontext()
1512 "u", pw->pw_name, (char *)NULL); in do_setusercontext()
1545 execl(_PATH_PASSWD_PROG, "passwd", s->pw->pw_name, in do_pwchange()
1568 "-p", "-f", pw->pw_name, (char *)NULL); in launch_login()
1570 "-p", "-f", "--", pw->pw_name, (char *)NULL); in launch_login()
1642 cray_setup(pw->pw_uid, pw->pw_name, command); in do_child()
1770 setproctitle("%s@%s", s->pw->pw_name, INTERNAL_SFTP_NAME); in do_child()
2091 s->pw->pw_name); in session_subsystem_req()
2308 record_logout(s->pid, s->tty, s->pw->pw_name); in session_pty_cleanup2()
2598 setproctitle("%s@%s", s->pw->pw_name, session_tty_list()); in session_proctitle()