Return to session.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.16, 2000/05/31 06:36:40 | version 1.17, 2000/06/05 19:53:40 | ||
---|---|---|---|
|
|
||
struct stat st; | struct stat st; | ||
char *argv[10]; | char *argv[10]; | ||
/* login(1) is only called if we execute the login shell */ | |||
if (options.use_login && command != NULL) | |||
options.use_login = 0; | |||
f = fopen("/etc/nologin", "r"); | f = fopen("/etc/nologin", "r"); | ||
if (f) { | if (f) { | ||
/* /etc/nologin exists. Print its contents and exit. */ | /* /etc/nologin exists. Print its contents and exit. */ |