Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 25 of 42) sorted by relevance

12

/busybox-1.35.0/include/
Dpwd_.h51 struct passwd* FAST_FUNC getpwent(void);
54 struct passwd* FAST_FUNC getpwuid(uid_t __uid);
57 struct passwd* FAST_FUNC getpwnam(const char *__name);
61 struct passwd *__restrict __resultbuf,
63 struct passwd **__restrict __result);
/busybox-1.35.0/networking/
Dether-wake.c171 unsigned passwd[6]; in get_wol_pw() local
176 &passwd[0], &passwd[1], &passwd[2], in get_wol_pw()
177 &passwd[3], &passwd[4], &passwd[5]); in get_wol_pw()
182 &passwd[0], &passwd[1], &passwd[2], &passwd[3]); in get_wol_pw()
189 wol_passwd[i] = passwd[i]; in get_wol_pw()
Dhttpd.c2049 const char *passwd; in check_user_passwd() local
2067 passwd = strchr(cur->after_colon, ':'); in check_user_passwd()
2068 if (!passwd) in check_user_passwd()
2070 passwd++; in check_user_passwd()
2071 if (passwd[0] == '*') { in check_user_passwd()
2094 struct passwd *pw; in check_user_passwd()
2101 passwd = pw->pw_passwd; in check_user_passwd()
2103 if ((passwd[0] == 'x' || passwd[0] == '*') && !passwd[1]) { in check_user_passwd()
2109 passwd = result->sp_pwdp; in check_user_passwd()
2120 if (passwd[0] == '$' && isdigit(passwd[1])) { in check_user_passwd()
[all …]
/busybox-1.35.0/libbb/
Dbb_pwd.c17 struct passwd* FAST_FUNC xgetpwnam(const char *name) in xgetpwnam()
19 struct passwd *pw = getpwnam(name); in xgetpwnam()
33 struct passwd* FAST_FUNC xgetpwuid(uid_t uid) in xgetpwuid()
36 struct passwd *pw = getpwuid(uid); in xgetpwuid()
53 struct passwd *pw = xgetpwuid(uid); in xuid2uname()
65 struct passwd *pw = getpwuid(uid); in uid2uname()
89 struct passwd *myuser; in xuname2uid()
Dcorrect_password.c41 static const char *get_passwd(const struct passwd *pw, char buffer[SHADOW_BUFSIZE]) in get_passwd()
70 int FAST_FUNC check_password(const struct passwd *pw, const char *plaintext) in check_password()
97 int FAST_FUNC ask_and_check_password_extended(const struct passwd *pw, in ask_and_check_password_extended()
120 int FAST_FUNC ask_and_check_password(const struct passwd *pw) in ask_and_check_password()
Dobscure.c94 static const char *obscure_msg(const char *old_p, const char *new_p, const struct passwd *pw) in obscure_msg()
174 int FAST_FUNC obscure(const char *old, const char *newval, const struct passwd *pw) in obscure()
190 static const struct passwd pw = {
Dget_shell_name.c13 struct passwd *pw; in get_shell_name()
Dchange_identity.c33 void FAST_FUNC change_identity(const struct passwd *pw) in change_identity()
Dsetup_environment.c32 void FAST_FUNC setup_environment(const char *shell, int flags, const struct passwd *pw) in setup_environment()
/busybox-1.35.0/libpwdgrp/
Dpwd_grp.c67 offsetof(struct passwd, pw_name), /* 0 S */
68 offsetof(struct passwd, pw_passwd), /* 1 s */
69 offsetof(struct passwd, pw_uid), /* 2 I */
70 offsetof(struct passwd, pw_gid), /* 3 I */
71 offsetof(struct passwd, pw_gecos), /* 4 s */
72 offsetof(struct passwd, pw_dir), /* 5 s */
73 offsetof(struct passwd, pw_shell) /* 6 s */
75 sizeof(PW_DEF)-1, sizeof(struct passwd)
370 int FAST_FUNC getpwnam_r(const char *name, struct passwd *struct_buf, in getpwnam_r()
372 struct passwd **result) in getpwnam_r()
[all …]
Duidgid_get.c33 struct passwd *pwd; in get_uidgid()
/busybox-1.35.0/loginutils/
Dlogin.c101 static char *passwd = NULL;
109 if (passwd == NULL) {
111 passwd = xstrdup(resp[i]->resp);
116 resp[0]->resp = passwd;
117 passwd = NULL;
208 static void run_login_script(struct passwd *pw, char *full_tty) in run_login_script()
229 void run_login_script(struct passwd *pw, char *full_tty);
331 struct passwd *pw; in login_main()
342 struct passwd pwdstruct; in login_main()
Ddeluser.c96 struct passwd *pw; in deluser_main()
123 struct passwd *pw; in deluser_main()
Dadduser.c92 static void passwd_study(struct passwd *p) in passwd_study()
132 static int addgroup_wrapper(struct passwd *p, const char *group_name) in addgroup_wrapper()
187 struct passwd pw; in adduser_main()
Dsulogin.c32 struct passwd *pwd; in sulogin_main()
Dpasswd.c43 static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo) in new_password()
120 struct passwd *pw; in passwd_main()
Dvlock.c66 struct passwd *pw; in vlock_main()
Dsu.c80 struct passwd *pw; in su_main()
DConfig.src36 (e.g. if user/group database is NOT stored in /etc/passwd etc),
88 in your /etc/passwd or /etc/shadow files. These passwords
/busybox-1.35.0/miscutils/
Dcrontab.c43 static void edit_file(const struct passwd *pas, const char *file) in edit_file()
74 const struct passwd *pas; in crontab_main()
Dcrond.c656 static void set_env_vars(struct passwd *pas, const char *shell) in set_env_vars()
674 static void change_user(struct passwd *pas) in change_user()
690 struct passwd *pas; in fork_job()
838 struct passwd *pas; in start_one_job()
/busybox-1.35.0/util-linux/
Drenice.c95 struct passwd *p; in renice_main()
Dipcs.c105 struct passwd *pw; in print_perms()
132 struct passwd *pw; in do_shm()
257 struct passwd *pw; in do_sem()
362 struct passwd *pw; in do_msg()
/busybox-1.35.0/coreutils/
Did.c183 struct passwd *p = xgetpwnam(username); in id_main()
/busybox-1.35.0/docs/
Dlogging_and_backgrounding.txt94 loginutils/passwd.c: logmode = LOGMODE_STDIO;
95 loginutils/passwd.c: logmode = LOGMODE_BOTH;

12