comparison svr-runopts.c @ 68:eee77ac31ccc

cleaning up the pubkey defines
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Aug 2004 14:56:22 +0000
parents 4b53a43f0082
children ac96bc733e71
comparison
equal deleted inserted replaced
67:86725004a0ea 68:eee77ac31ccc
59 #endif 59 #endif
60 #ifdef DO_MOTD 60 #ifdef DO_MOTD
61 "-m Don't display the motd on login\n" 61 "-m Don't display the motd on login\n"
62 #endif 62 #endif
63 "-w Disallow root logins\n" 63 "-w Disallow root logins\n"
64 #ifdef DROPBEAR_PASSWORD_AUTH 64 #ifdef ENABLE_SVR_PASSWORD_AUTH
65 "-s Disable password logins\n" 65 "-s Disable password logins\n"
66 "-g Disable password logins for root\n" 66 "-g Disable password logins for root\n"
67 #endif 67 #endif
68 #ifndef DISABLE_LOCALTCPFWD 68 #ifndef DISABLE_LOCALTCPFWD
69 "-j Disable local port forwarding\n" 69 "-j Disable local port forwarding\n"
172 break; 172 break;
173 #endif 173 #endif
174 case 'w': 174 case 'w':
175 svr_opts.norootlogin = 1; 175 svr_opts.norootlogin = 1;
176 break; 176 break;
177 #ifdef DROPBEAR_PASSWORD_AUTH 177 #ifdef ENABLE_SVR_PASSWORD_AUTH
178 case 's': 178 case 's':
179 svr_opts.noauthpass = 1; 179 svr_opts.noauthpass = 1;
180 break; 180 break;
181 case 'g': 181 case 'g':
182 svr_opts.norootpass = 1; 182 svr_opts.norootpass = 1;