Home
last modified time | relevance | path

Searched refs:shadow_info (Results 1 - 1 of 1) sorted by relevance

/third_party/toybox/toys/pending/
H A Dchsh.c34 struct spwd *shadow_info; in chsh_main() local
49 if (!(shadow_info = getspnam(passwd_info->pw_name))) perror_exit("getspnam"); in chsh_main()
51 if (!(encrypted = crypt(toybuf, shadow_info->sp_pwdp))) perror_exit("crypt"); in chsh_main()
54 if (strcmp(encrypted, shadow_info->sp_pwdp)) perror_exit("Bad password"); in chsh_main()

Completed in 1 milliseconds