From f79aeffe3b8f58c3d7da0fba28f8eba867079e6d Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 10 Feb 2001 21:27:11 +0000 Subject: - markus@cvs.openbsd.org 2001/02/07 22:35:46 [auth1.c auth2.c sshd.c] move k_setpag() to a central place; ok dugsong@ --- sshd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index 22eabcda8..88ce79028 100644 --- a/sshd.c +++ b/sshd.c @@ -1148,6 +1148,13 @@ main(int ac, char **av) options.kerberos_authentication = 0; } #endif /* KRB4 */ +#ifdef AFS + /* If machine has AFS, set process authentication group. */ + if (k_hasafs()) { + k_setpag(); + k_unlog(); + } +#endif /* AFS */ packet_set_nonblocking(); -- cgit v1.2.3