comparison runopts.h @ 1551:1acbdf64088e

add guard HAVE_GETGROUPLIST
author Matt Johnston <matt@ucc.asn.au>
date Tue, 27 Feb 2018 21:49:10 +0800
parents 6a83b1944432
children 61a793b6e471
comparison
equal deleted inserted replaced
1550:93a3726a36d6 1551:1acbdf64088e
90 /* whether to print the MOTD */ 90 /* whether to print the MOTD */
91 int domotd; 91 int domotd;
92 #endif 92 #endif
93 93
94 int norootlogin; 94 int norootlogin;
95
96 #ifdef HAVE_GETGROUPLIST
97 /* restrict_group is the group name if group restriction was enabled,
98 NULL otherwise */
95 char *restrict_group; 99 char *restrict_group;
100 /* restrict_group_gid is only valid if restrict_group is set */
96 gid_t restrict_group_gid; 101 gid_t restrict_group_gid;
102 #endif
97 103
98 int noauthpass; 104 int noauthpass;
99 int norootpass; 105 int norootpass;
100 int allowblankpass; 106 int allowblankpass;
101 unsigned int maxauthtries; 107 unsigned int maxauthtries;