search for: auth_approval

Displaying 2 results from an estimated 2 matches for "auth_approval".

2001 Feb 16
1
OpenSSH 2.3.0p1 port to BSDI BSD/OS
...Try authentication with the password. */ authenticated = auth_password(pw, password); #endif /* USE_PAM */ @@ -362,6 +371,10 @@ if (authenticated && !do_pam_account(pw->pw_name, client_user)) authenticated = 0; #endif +#ifdef HAVE_BSD_AUTH_H + if (authenticated && !auth_approval(NULL, NULL, pw->pw_name, "ssh")) + authenticated = 0; +#endif /* HAVE_BSD_AUTH_H */ if (client_user != NULL) { xfree(client_user); @@ -415,6 +428,15 @@ #endif /* AFS */ /* Verify that the user is a valid user. */ +#ifdef HAVE_BSD_AUTH_H + /* we may have an auth type...
2001 Jun 03
3
Handling of password & account expirations
Hello, There has been an annoyance with OpenSSH that has been bugging me lately. It pays no attention to pw_change and pw_expire fields from the passwd file for users by default. Thus even if the admin has set a user's account to expire 5 days ago they can still login. So one might say, just add 'UseLogin yes' and all of your problems will be solved. This of course is not a good