Searched refs:update_password (Results 1 – 8 of 8) sorted by relevance
/third_party/toybox/toys/pending/ |
D | groupadd.c | 53 update_password(GROUP_PATH, *toys.optargs, entry); 56 update_password(SECURE_GROUP_PATH, *toys.optargs, entry); 89 update_password(GROUP_PATH, grp->gr_name, entry); in groupadd_main() 90 update_password(SECURE_GROUP_PATH, grp->gr_name, entry); in groupadd_main()
|
D | groupdel.c | 58 update_password("/etc/group", grp->gr_name, entry); in groupdel_main() 59 update_password("/etc/gshadow", grp->gr_name, entry); in groupdel_main()
|
D | userdel.c | 95 update_password("/etc/passwd", pwd->pw_name, NULL); in userdel_main() 96 update_password("/etc/shadow", pwd->pw_name, NULL); in userdel_main()
|
D | useradd.c | 122 if (update_password("/etc/passwd", pwd.pw_name, entry)) error_exit("updating passwd file failed"); 130 update_password("/etc/shadow", pwd.pw_name, entry);
|
D | chsh.c | 74 …if (-1 == update_password("/etc/passwd", user, NULL)) perror_exit("Failed to remove passwd entry");
|
/third_party/toybox/lib/ |
D | pending.h | 6 int update_password(char *filename, char* username, char* encrypted);
|
D | password.c | 108 int update_password(char *filename, char* username, char* entry) in update_password() function
|
/third_party/toybox/toys/lsb/ |
D | passwd.c | 108 ret = update_password(*pw->pw_passwd=='x' ? "/etc/shadow" : "/etc/passwd", in passwd_main()
|