Lines Matching refs:ue
198 struct udb ue; /* udb entry for logging-in user */ in cray_setup() local
273 usent.ueptr = &ue; in cray_setup()
306 expiration_time = ue.ue_pwage.time + ue.ue_pwage.maxage; in cray_setup()
322 strlcpy(ue.ue_name, "root", sizeof(ue.ue_name)); in cray_setup()
323 strlcpy(ue.ue_dir, "/", sizeof(ue.ue_dir)); in cray_setup()
324 strlcpy(ue.ue_shell, "/bin/sh", sizeof(ue.ue_shell)); in cray_setup()
326 ue.ue_passwd[0] = '\0'; in cray_setup()
327 ue.ue_age[0] = '\0'; in cray_setup()
328 ue.ue_comment[0] = '\0'; in cray_setup()
329 ue.ue_loghost[0] = '\0'; in cray_setup()
330 ue.ue_logline[0] = '\0'; in cray_setup()
332 ue.ue_uid = -1; in cray_setup()
333 ue.ue_nice[UDBRC_INTER] = 0; in cray_setup()
336 ue.ue_gids[i] = 0; in cray_setup()
338 ue.ue_logfails = 0; in cray_setup()
339 ue.ue_minlvl = ue.ue_maxlvl = ue.ue_deflvl = minslevel; in cray_setup()
340 ue.ue_defcomps = 0; in cray_setup()
341 ue.ue_comparts = 0; in cray_setup()
342 ue.ue_permits = 0; in cray_setup()
343 ue.ue_trap = 0; in cray_setup()
344 ue.ue_disabled = 0; in cray_setup()
345 ue.ue_logtime = 0; in cray_setup()
395 fsent.ueptr = &ue; in cray_setup()
416 ia_mlsrcode = ia_mlsuser(&ue, &secinfo, &usrv, NULL, 0); in cray_setup()
431 fsent.ueptr = &ue; in cray_setup()
448 if (options.print_lastlog && ue.ue_logtime != 0) { in cray_setup()
450 (char *)ctime(&ue.ue_logtime)); in cray_setup()
452 if (*ue.ue_loghost != '\0') { in cray_setup()
453 printf("from %.*s\n", sizeof(ue.ue_loghost), in cray_setup()
454 ue.ue_loghost); in cray_setup()
456 printf("on %.*s\n", sizeof(ue.ue_logline), in cray_setup()
457 ue.ue_logline); in cray_setup()
460 if (SecureSys && (ue.ue_logfails != 0)) { in cray_setup()
462 ue.ue_logfails); in cray_setup()
475 ssent.ueptr = &ue; in cray_setup()
489 if (((ue.ue_permbits & PERMBITS_ACCTID) || in cray_setup()
490 (ue.ue_acids[0] >= 0) && (ue.ue_acids[1] >= 0)) && in cray_setup()
491 ue.ue_permbits & PERMBITS_ASKACID) { in cray_setup()
496 " [%s]: ", acid2nam(ue.ue_acids[0])); in cray_setup()
503 valid_acct = ue.ue_acids[0]; in cray_setup()
509 if (ue.ue_acids[i] == -1) { in cray_setup()
518 acid2nam(ue.ue_acids[i])); in cray_setup()
520 if (ue.ue_permbits & PERMBITS_ACCTID) { in cray_setup()
541 !(ue.ue_permbits & PERMBITS_ACCTID)) { in cray_setup()
543 if (ue.ue_acids[i] == -1) in cray_setup()
545 if (valid_acct == ue.ue_acids[i]) in cray_setup()
549 ue.ue_acids[i] == -1) { in cray_setup()
565 valid_acct = ue.ue_acids[0]; in cray_setup()
572 valid_acct = ue.ue_acids[0]; in cray_setup()
584 if (setshares(ue.ue_uid, valid_acct, printf, 0, 0)) { in cray_setup()
586 ue.ue_shares, ue.ue_name, ue.ue_uid, valid_acct); in cray_setup()