Lines Matching refs:toybuf
58 if (gethostname(toybuf, sizeof(toybuf)-1)) *toybuf = 0;
59 printf("%s%slogin: ", *toybuf ? toybuf : "", *toybuf ? " " : "");
62 if(!fgets(toybuf, sizeof(toybuf)-1, stdin)) xexit();
65 for (ss = toybuf; *ss; ss++) if (*ss<=' ' || *ss==':') break;
67 if (!*(username = toybuf)) {
87 if (!read_password(toybuf, sizeof(toybuf), "Password: ")) {
88 int x = pass && (ss = crypt(toybuf, pass)) && !strcmp(pass, ss);
91 memset(toybuf, 0, sizeof(toybuf));
111 ss = readfile("/etc/nologin", toybuf, sizeof(toybuf));