Home
last modified time | relevance | path

Searched refs:username (Results 1 – 6 of 6) sorted by relevance

/busybox-1.35.0/loginutils/
Dlogin.c183 static void initselinux(char *username, char *full_tty, in initselinux() argument
191 if (get_default_context(username, NULL, user_sid)) { in initselinux()
192 bb_error_msg_and_die("can't get SID for %s", username); in initselinux()
327 char username[USERNAME_SIZE]; in login_main() local
365 username[0] = '\0'; in login_main()
370 safe_strncpy(username, opt_user, sizeof(username)); in login_main()
374 safe_strncpy(username, argv[0], sizeof(username)); in login_main()
409 if (!username[0]) in login_main()
410 get_username_or_die(username, sizeof(username)); in login_main()
413 pamret = pam_start("login", username, &conv, &pamh); in login_main()
[all …]
DREADME32 c_iflag |= ICRNL; // if '\r' was used to end username
47 for username to be entered.
67 for username/password to be entered?
/busybox-1.35.0/coreutils/
Did.c120 static int get_groups(const char *username, gid_t rgid, gid_t *groups, int *n) in get_groups() argument
124 if (username) { in get_groups()
128 m = getgrouplist(username, rgid, groups, n); in get_groups()
157 const char *username; in id_main() local
181 username = argv[optind]; in id_main()
182 if (username) { in id_main()
183 struct passwd *p = xgetpwnam(username); in id_main()
218 if (get_groups(username, rgid, groups, &n) < 0) { in id_main()
221 get_groups(username, rgid, groups, &n); in id_main()
257 if (username || getcon(&scontext)) { in id_main()
[all …]
/busybox-1.35.0/libbb/
Dutmp.c17 void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, … in write_new_utmp() argument
28 if (username) in write_new_utmp()
29 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in write_new_utmp()
65 void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, con… in update_utmp() argument
103 write_new_utmp(pid, new_type, tty_name, username, hostname); in update_utmp()
116 if (username) in update_utmp()
117 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in update_utmp()
Dupdate_passwd.c19 static void check_selinux_update_passwd(const char *username) in check_selinux_update_passwd() argument
35 if (strcmp(seuser, username) != 0) { in check_selinux_update_passwd()
54 # define check_selinux_update_passwd(username) ((void)0) argument
/busybox-1.35.0/include/
Dlibbb.h1197 void FAST_FUNC write_new_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, …
1198 void FAST_FUNC update_utmp(pid_t pid, int new_type, const char *tty_name, const char *username, con…
1201 # define write_new_utmp(pid, new_type, tty_name, username, hostname) ((void)0) argument
1202 # define update_utmp(pid, new_type, tty_name, username, hostname) ((void)0) argument
1780 #define update_passwd(filename, username, data, member) \ argument
1781 update_passwd(filename, username, data)
1784 const char *username,