Mercurial > dropbear
comparison svr-runopts.c @ 121:9337c9f9a607 private-rez
PAM improvements
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 14 Sep 2004 12:51:16 +0000 |
parents | 298098b2a61e |
children | 0cfba3034be5 |
comparison
equal
deleted
inserted
replaced
119:3394a7cb30cd | 121:9337c9f9a607 |
---|---|
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; |