Lines Matching defs:shadow
61 char *shadow = "/etc/shadow";
115 "Press 'e' to edit the shadow file for consistency,\n 'q' to quit: ");
135 if (stat(shadow, &oshdbuf) < 0) {
137 "vipw: can't stat shadow file.\n");
141 if (copyfile(shadow, stemp))
149 if (editfile(editor, stemp, shadow, &o_mtime))
173 if (rename(stemp, shadow) < 0) {
179 (chown(shadow, oshdbuf.st_uid, oshdbuf.st_gid) < 0)) {
267 if (!strcmp(orig, shadow))
326 /* root uid for passwd and sp_lstchg for shadow */
331 /* root's gid for passwd and sp_min for shadow*/
336 /* root's gecos for passwd and sp_max for shadow*/