Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/svr-runopts.c Sun Sep 12 05:52:36 2004 +0000 +++ b/svr-runopts.c Tue Sep 14 12:51:16 2004 +0000 @@ -59,7 +59,7 @@ "-m Don't display the motd on login\n" #endif "-w Disallow root logins\n" -#ifdef ENABLE_SVR_PASSWORD_AUTH +#if defined(ENABLE_SVR_PASSWORD_AUTH) || defined(ENABLE_SVR_PAM_AUTH) "-s Disable password logins\n" "-g Disable password logins for root\n" #endif @@ -183,7 +183,7 @@ case 'w': svr_opts.norootlogin = 1; break; -#ifdef ENABLE_SVR_PASSWORD_AUTH +#if defined(ENABLE_SVR_PASSWORD_AUTH) || defined(ENABLE_SVR_PAM_AUTH) case 's': svr_opts.noauthpass = 1; break;