Displaying 1 result from an estimated 1 matches for "expiresmsg".
Did you mean:
expiremsg
2001 Nov 05
2
Security - ssh allows unintended access on AIX
...ser can change his password at anytime, however once set, access
should be denied.
Being a simple soul, I have added a routine passwdexpires ( AIX Lib )
directly after loginrestrictions with the same code. I think this should
be urgently added to the code - hope this helps.
auth.c
/* mpi change expiresmsg */
#ifdef WITH_AIXAUTHENTICATE
char *loginmsg;
char *expiresmsg;
int passexpcode;
#endif /* WITH_AIXAUTHENTICATE */
#ifdef WITH_AIXAUTHENTICATE
auth.c
/* mpi change passwdexpires hinein */
if (loginrestrictions(pw->pw_name, S_RLOGIN, NULL, &loginmsg) !=...