comparison svr-runopts.c @ 122:cb7ef2f63bf0 private-rez

propagate of f51a272341ee12268fe7028bc2f2bad66c603069 and ab35ee4292ea910d4871c3609d6100fe34300720 from branch 'matt.dbclient.rez' to 'matt.dbclient.work'
author Matt Johnston <matt@ucc.asn.au>
date Tue, 14 Sep 2004 13:09:29 +0000
parents 9337c9f9a607
children 0cfba3034be5
comparison
equal deleted inserted replaced
120:18b261b1dea2 122:cb7ef2f63bf0
57 #endif 57 #endif
58 #ifdef DO_MOTD 58 #ifdef DO_MOTD
59 "-m Don't display the motd on login\n" 59 "-m Don't display the motd on login\n"
60 #endif 60 #endif
61 "-w Disallow root logins\n" 61 "-w Disallow root logins\n"
62 #ifdef ENABLE_SVR_PASSWORD_AUTH 62 #if defined(ENABLE_SVR_PASSWORD_AUTH) || defined(ENABLE_SVR_PAM_AUTH)
63 "-s Disable password logins\n" 63 "-s Disable password logins\n"
64 "-g Disable password logins for root\n" 64 "-g Disable password logins for root\n"
65 #endif 65 #endif
66 #ifndef DISABLE_LOCALTCPFWD 66 #ifndef DISABLE_LOCALTCPFWD
67 "-j Disable local port forwarding\n" 67 "-j Disable local port forwarding\n"
181 break; 181 break;
182 #endif 182 #endif
183 case 'w': 183 case 'w':
184 svr_opts.norootlogin = 1; 184 svr_opts.norootlogin = 1;
185 break; 185 break;
186 #ifdef ENABLE_SVR_PASSWORD_AUTH 186 #if defined(ENABLE_SVR_PASSWORD_AUTH) || defined(ENABLE_SVR_PAM_AUTH)
187 case 's': 187 case 's':
188 svr_opts.noauthpass = 1; 188 svr_opts.noauthpass = 1;
189 break; 189 break;
190 case 'g': 190 case 'g':
191 svr_opts.norootpass = 1; 191 svr_opts.norootpass = 1;