diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-14 07:11:48 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-14 07:11:48 +0200 |
commit | 4e448a31ae12e6f84caa7cdfc8b4c23db92459db (patch) | |
tree | 8f4c0885c8c91456b4d27d7f405e9125b83491a4 /sshd.c | |
parent | - (djm) Make portable build with MIT krb5 (some issues remain) (diff) | |
download | openssh-4e448a31ae12e6f84caa7cdfc8b4c23db92459db.tar.xz openssh-4e448a31ae12e6f84caa7cdfc8b4c23db92459db.zip |
- (djm) Add new UsePAM configuration directive to allow runtime control
over usage of PAM. This allows non-root use of sshd when built with
--with-pam
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1544,7 +1544,8 @@ main(int ac, char **av) verbose("Closing connection to %.100s", remote_ip); #ifdef USE_PAM - finish_pam(); + if (options.use_pam) + finish_pam(); #endif /* USE_PAM */ packet_close(); |