Displaying 3 results from an estimated 3 matches for "expiremsg".
2003 Jul 09
0
[PATCH] Add expired password handling for AIX.
...===
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth.c,v
retrieving revision 1.74
diff -u -r1.74 auth.c
--- auth.c 8 Jul 2003 12:59:59 -0000 1.74
+++ auth.c 9 Jul 2003 02:07:01 -0000
@@ -55,6 +55,7 @@
/* import */
extern ServerOptions options;
extern Buffer loginmsg;
+extern Buffer expiremsg;
/* Debugging messages */
Buffer auth_debug;
@@ -86,9 +87,10 @@
if (!pw || !pw->pw_name)
return 0;
+#define DAY (24L * 60 * 60) /* 1 day in seconds */
+#define WEEK (DAY * 7) /* 1 week in seconds */
#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) && \
de...
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...===
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth.c,v
retrieving revision 1.74
diff -u -r1.74 auth.c
--- auth.c 8 Jul 2003 12:59:59 -0000 1.74
+++ auth.c 9 Jul 2003 02:07:01 -0000
@@ -55,6 +55,7 @@
/* import */
extern ServerOptions options;
extern Buffer loginmsg;
+extern Buffer expiremsg;
/* Debugging messages */
Buffer auth_debug;
@@ -86,9 +87,10 @@
if (!pw || !pw->pw_name)
return 0;
+#define DAY (24L * 60 * 60) /* 1 day in seconds */
+#define WEEK (DAY * 7) /* 1 week in seconds */
#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) && \
de...
2002 Oct 13
1
[PATCH] AIX password expiration
...s/openssh/auth.c,v
retrieving revision 1.58
diff -u -r1.58 auth.c
--- auth.c 21 Sep 2002 15:26:53 -0000 1.58
+++ auth.c 13 Oct 2002 11:06:27 -0000
@@ -59,6 +59,12 @@
Buffer auth_debug;
int auth_debug_init;
+#ifdef WITH_AIXAUTHENTICATE
+void aix_remove_embedded_newlines(char *);
+extern char *aixexpiremsg;
+extern int aix_password_change_required;
+#endif
+
/*
* Check if the user is allowed to log in via ssh. If user is listed
* in DenyUsers or one of user's groups is listed in DenyGroups, false
@@ -202,19 +208,39 @@
}
#ifdef WITH_AIXAUTHENTICATE
- if (loginrestrictions(pw->pw_name,...