Lines Matching full:passwd
1 /* passwd.c - Program to update user password.
6 * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/passwd.html
8 USE_PASSWD(NEWTOY(passwd, ">1a:dlu", TOYFLAG_STAYROOT|TOYFLAG_USR|TOYFLAG_BIN))
10 config PASSWD
11 bool "passwd"
15 usage: passwd [-a ALGO] [-dlu] [USER]
27 depends on PASSWD
58 struct passwd *pw = 0; in passwd_main()
70 // Get password from /etc/passwd or /etc/shadow in passwd_main()
107 // Update the passwd in passwd_main()
108 ret = update_password(*pw->pw_passwd=='x' ? "/etc/shadow" : "/etc/passwd", in passwd_main()