Return to session.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.149, 2002/09/12 19:50:36 | version 1.150, 2002/09/16 19:55:33 | ||
---|---|---|---|
|
|
||
#endif | #endif | ||
if (f) { | if (f) { | ||
/* /etc/nologin exists. Print its contents and exit. */ | /* /etc/nologin exists. Print its contents and exit. */ | ||
log("User %.100s not allowed because %s exists", | |||
pw->pw_name, _PATH_NOLOGIN); | |||
while (fgets(buf, sizeof(buf), f)) | while (fgets(buf, sizeof(buf), f)) | ||
fputs(buf, stderr); | fputs(buf, stderr); | ||
fclose(f); | fclose(f); |