Searched refs:usertype (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | useradd.c | 124 static char *usertype = NULL; /* type of user, either role or normal */ variable 160 usertype = getusertype(argv[0]); 162 change_key(USERATTR_TYPE_KW, usertype); 232 if (is_role(usertype)) { 245 if (is_role(usertype)) 253 usrdefs = getusrdef(usertype); 260 if (is_role(usertype)) 269 if (is_role(usertype)) 368 if (putusrdef(usrdefs, usertype) < 0) { 374 dispusrdef(stdout, (D_ALL & ~D_RID), usertype); [all …]
|
H A D | userdel.c | 76 char *usertype = NULL; in main() local 87 usertype = getusertype(argv[0]); in main() 95 if (is_role(usertype)) in main() 104 if (is_role(usertype)) in main() 193 if (is_role(usertype)) in main()
|
H A D | userdefs.c | 164 getusrdef(char *usertype) in getusrdef() argument 169 if (is_role(usertype)) { in getusrdef() 225 dispusrdef(FILE *fptr, unsigned flags, char *usertype) in dispusrdef() argument 227 struct userdefs *deflts = getusrdef(usertype); in dispusrdef() 285 (!is_role(usertype))) { in dispusrdef() 316 putusrdef(struct userdefs *defs, char *usertype) in putusrdef() argument 336 if (is_role(usertype)) { in putusrdef() 354 if (is_role(usertype)) { in putusrdef()
|
H A D | usermod.c | 103 static char *usertype; variable 176 usertype = getusertype(argv[0]); 253 if (is_role(usertype)) 261 if (is_role(usertype)) 269 if (is_role(usertype)) 287 if (isrole != is_role(usertype)) { 296 usertype = getsetdefval(USERATTR_TYPE_KW, usertype); 298 if (is_role(usertype)) { 655 if (is_role(usertype))
|
H A D | funcs.c | 196 static char usertype[MAX_TYPE_LENGTH]; in getusertype() local 207 strcpy(usertype, USERATTR_TYPE_NORMAL_KW); in getusertype() 209 strcpy(usertype, USERATTR_TYPE_NONADMIN_KW); in getusertype() 211 return (usertype); in getusertype() 215 is_role(char *usertype) in is_role() argument 217 if (strcmp(usertype, USERATTR_TYPE_NONADMIN_KW) == 0) in is_role()
|
H A D | funcs.h | 46 int is_role(char *usertype);
|