Searched refs:myuid (Results 1 – 1 of 1) sorted by relevance
57 uid_t myuid; in passwd_main() local64 if (!(myuid = getuid()) || !(toys.optflags&(FLAG_l|FLAG_u|FLAG_d))) { in passwd_main()66 else pw = xgetpwuid(myuid); in passwd_main()68 if (!pw || (myuid && (myuid != pw->pw_uid))) error_exit("Not root"); in passwd_main()90 if (myuid) { in passwd_main()