Displaying 1 result from an estimated 1 matches for "num_pkey_allow_users".
2002 Mar 28
1
[PATCH] Feature addition: user access control per auth method
...serauth_pubkey: SSH_BUG_PKAUTH");
@@ -796,3 +805,24 @@
return (host_status == HOST_OK);
}
+
+
+/*
+ * Check if the user is allowed to log in with public key authentication.
+ */
+static int pubkey_allowed_user(struct passwd *pw)
+{
+ Authaccess access;
+
+ access.num_allow_users = options.num_pkey_allow_users;
+ access.allow_users = options.pkey_allow_users;
+ access.num_deny_users = options.num_pkey_deny_users;
+ access.deny_users = options.pkey_deny_users;
+ access.num_allow_groups = options.num_pkey_allow_groups;
+ access.allow_groups = options.pkey_allow_groups;
+ access.num_deny_groups = options.nu...