Searched refs:usertype (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/oamuser/user/ |
H A D | useradd.c | 126 static char *usertype = NULL; /* type of user, either role or normal */ variable 164 usertype = getusertype(argv[0]); 166 change_key(USERATTR_TYPE_KW, usertype); 244 if (is_role(usertype)) { 257 if (is_role(usertype)) 266 if (is_role(usertype)) 275 usrdefs = getusrdef(usertype); 282 if (is_role(usertype)) 291 if (is_role(usertype)) 390 if (putusrdef(usrdefs, usertype) < 0) { [all …]
|
H A D | userdel.c | 77 char *usertype = NULL; in main() local 88 usertype = getusertype(argv[0]); in main() 96 if (is_role(usertype)) in main() 105 if (is_role(usertype)) in main() 195 if (is_role(usertype)) in main()
|
H A D | usermod.c | 104 static char *usertype; variable 177 usertype = getusertype(argv[0]); 260 if (is_role(usertype)) 269 if (is_role(usertype)) 278 if (is_role(usertype)) 286 if (is_role(usertype)) 304 if (isrole != is_role(usertype)) { 313 usertype = getsetdefval(USERATTR_TYPE_KW, usertype); 315 if (is_role(usertype)) { 680 if (is_role(usertype))
|
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 | 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 | 44 int is_role(char *usertype);
|