Displaying 1 result from an estimated 1 matches for "pkey_deny_us".
2002 Mar 28
1
[PATCH] Feature addition: user access control per auth method
...* 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.num_pkey_deny_groups;
+ access.deny_groups = options.pkey_deny_groups;
+
+ return auth_allowed_user(pw,...