Lines Matching refs:ue
167 struct udb ue; /* udb entry for logging-in user */ in cray_setup() local
253 usent.ueptr = &ue; in cray_setup()
287 expiration_time = ue.ue_pwage.time + ue.ue_pwage.maxage; in cray_setup()
303 strcpy(ue.ue_name, "root"); in cray_setup()
304 strcpy(ue.ue_passwd, ""); in cray_setup()
305 strcpy(ue.ue_dir, "/"); in cray_setup()
306 strcpy(ue.ue_shell, "/bin/sh"); in cray_setup()
307 strcpy(ue.ue_age, ""); in cray_setup()
308 strcpy(ue.ue_comment, ""); in cray_setup()
309 strcpy(ue.ue_loghost, ""); in cray_setup()
310 strcpy(ue.ue_logline, ""); in cray_setup()
311 ue.ue_uid=-1; in cray_setup()
312 ue.ue_nice[UDBRC_INTER]=0; in cray_setup()
314 ue.ue_gids[i]=0; in cray_setup()
315 ue.ue_logfails=0; in cray_setup()
316 ue.ue_minlvl=minslevel; in cray_setup()
317 ue.ue_maxlvl=minslevel; in cray_setup()
318 ue.ue_deflvl=minslevel; in cray_setup()
319 ue.ue_defcomps=0; in cray_setup()
320 ue.ue_comparts=0; in cray_setup()
321 ue.ue_permits=0; in cray_setup()
322 ue.ue_trap=0; in cray_setup()
323 ue.ue_disabled=0; in cray_setup()
324 ue.ue_logtime=0; in cray_setup()
400 fsent.ueptr = &ue; in cray_setup()
421 ia_mlsrcode = ia_mlsuser (&ue, &secinfo, &usrv, NULL, 0); in cray_setup()
436 fsent.ueptr = &ue; in cray_setup()
453 if (options.print_lastlog && ue.ue_logtime != 0) { in cray_setup()
455 19, (char *)ctime(&ue.ue_logtime)); in cray_setup()
457 if (*ue.ue_loghost != '\0') in cray_setup()
458 printf("from %.*s\n", sizeof(ue.ue_loghost), ue.ue_loghost); in cray_setup()
460 else printf("on %.*s\n", sizeof(ue.ue_logline), ue.ue_logline); in cray_setup()
462 if ( SecureSys && (ue.ue_logfails != 0)) in cray_setup()
463 printf(" followed by %d failed attempts\n", ue.ue_logfails); in cray_setup()
476 ssent.ueptr = &ue; in cray_setup()
490 if (((ue.ue_permbits & PERMBITS_ACCTID) || in cray_setup()
491 (ue.ue_acids[0] >= 0) && (ue.ue_acids[1] >= 0)) && in cray_setup()
492 ue.ue_permbits & PERMBITS_ASKACID) { in cray_setup()
497 " [%s]: ", acid2nam(ue.ue_acids[0])); in cray_setup()
504 valid_acct = ue.ue_acids[0]; in cray_setup()
510 if (ue.ue_acids[i] == -1) { in cray_setup()
519 acid2nam(ue.ue_acids[i])); in cray_setup()
521 if (ue.ue_permbits & PERMBITS_ACCTID) in cray_setup()
538 !(ue.ue_permbits & PERMBITS_ACCTID)) { in cray_setup()
540 if (ue.ue_acids[i] == -1) in cray_setup()
542 if (valid_acct == ue.ue_acids[i]) in cray_setup()
546 ue.ue_acids[i] == -1) { in cray_setup()
561 valid_acct = ue.ue_acids[0]; in cray_setup()
568 valid_acct = ue.ue_acids[0]; in cray_setup()
579 if (setshares(ue.ue_uid, valid_acct, printf, 0, 0)) { in cray_setup()
580 …printf("Unable to give %d shares to <%s>(%d/%d)\n", ue.ue_shares, ue.ue_name, ue.ue_uid, valid_acc… in cray_setup()