Lines Matching full:shadow
59 char *shadow = "/etc/shadow"; variable
113 "Press 'e' to edit the shadow file for consistency,\n 'q' to quit: "); in main()
133 if (stat(shadow, &oshdbuf) < 0) { in main()
135 "vipw: can't stat shadow file.\n"); in main()
139 if (copyfile(shadow, stemp)) in main()
147 if (editfile(editor, stemp, shadow, &o_mtime)) in main()
171 if (rename(stemp, shadow) < 0) { in main()
177 (chown(shadow, oshdbuf.st_uid, oshdbuf.st_gid) < 0)) { in main()
265 if (!strcmp(orig, shadow)) in sanity_check()
324 /* root uid for passwd and sp_lstchg for shadow */ in sanity_check()
329 /* root's gid for passwd and sp_min for shadow*/ in sanity_check()
334 /* root's gecos for passwd and sp_max for shadow*/ in sanity_check()