Displaying 8 results from an estimated 8 matches for "have_pw_class_in_passwd".
2002 Mar 20
1
privsep
i think our strategy for privsep is to just keep portable sync'd closely
with openbsd's tree, even though things will be broken wrt privsep for
many platforms. then we just get primary one's working and work out
issues as we go along. i'll start to work on sun and hp-ux again
tomorrow.
2001 Feb 28
2
[PATCH]: auth.c (pwcopy): Copy pw_gecos field when build for Cygwin
...he patch:
Index: auth.c
===================================================================
RCS file: /cvs/openssh_cvs/auth.c,v
retrieving revision 1.23
diff -u -p -r1.23 auth.c
--- auth.c 2001/02/15 03:08:27 1.23
+++ auth.c 2001/02/28 15:47:23
@@ -182,6 +182,9 @@ pwcopy(struct passwd *pw)
#ifdef HAVE_PW_CLASS_IN_PASSWD
copy->pw_class = xstrdup(pw->pw_class);
#endif
+#ifdef HAVE_CYGWIN
+ copy->pw_gecos = xstrdup(pw->pw_gecos);
+#endif
copy->pw_dir = xstrdup(pw->pw_dir);
copy->pw_shell = xstrdup(pw->pw_shell);
return copy;
Thanks in advance,
Corinna
--
Corinna Vinschen
Cygwin De...
2001 Jun 21
1
pw_expire/pw_change in current portable openssh CVS bombs
...py->pw_name = xstrdup(pw->pw_name);
copy->pw_passwd = xstrdup(pw->pw_passwd);
copy->pw_gecos = xstrdup(pw->pw_gecos);
- copy->pw_uid = pw->pw_uid;
- copy->pw_gid = pw->pw_gid;
- copy->pw_expire = pw->pw_expire;
- copy->pw_change = pw->pw_change;
#ifdef HAVE_PW_CLASS_IN_PASSWD
copy->pw_class = xstrdup(pw->pw_class);
#endif
2001 Jun 22
1
PATCH: pidfile/sigterm race
If one is using the pidfile as an indicator of sshd's status,
it is possible to kill sshd before the sigterm handler gets
installed, since the pidfile is written out before the signal
handlers are setup.
The solution is to simply write the pidfile after the signal
handlers are setup. Here's the patch.
Rob
--- sshd.c.orig Fri Jun 22 11:16:41 2001
+++ sshd.c Fri Jun 22 11:18:32 2001
@@
2003 Jul 09
0
[PATCH] Add expired password handling for AIX.
...onfig.h
--- acconfig.h 8 Jul 2003 10:52:13 -0000 1.158
+++ acconfig.h 8 Jul 2003 13:19:33 -0000
@@ -53,6 +53,9 @@
/* from environment and PATH */
#undef LOGIN_PROGRAM_FALLBACK
+/* Path to passwd program */
+#undef PASSWD_PROGRAM_PATH
+
/* Define if your password has a pw_class field */
#undef HAVE_PW_CLASS_IN_PASSWD
Index: auth-passwd.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-passwd.c,v
retrieving revision 1.56
diff -u -r1.56 auth-passwd.c
--- auth-passwd.c 8 Jul 2003 12:59:59 -0000 1.56
+++ auth-passwd.c 9 Jul 2003 02...
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...fig.h
--- acconfig.h 14 Jul 2003 06:21:44 -0000 1.159
+++ acconfig.h 16 Jul 2003 04:42:22 -0000
@@ -53,6 +53,9 @@
/* from environment and PATH */
#undef LOGIN_PROGRAM_FALLBACK
+/* Path to passwd program */
+#undef PASSWD_PROGRAM_PATH
+
/* Define if your password has a pw_class field */
#undef HAVE_PW_CLASS_IN_PASSWD
Index: auth-passwd.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-passwd.c,v
retrieving revision 1.57
diff -u -r1.57 auth-passwd.c
--- auth-passwd.c 24 Jul 2003 06:52:13 -0000 1.57
+++ auth-passwd.c 26 Jul 2003...
2002 Nov 20
0
[PATCH #9] Password expiration via /bin/passwd.
...fig.h
--- acconfig.h 26 Sep 2002 00:38:48 -0000 1.145
+++ acconfig.h 20 Nov 2002 13:12:12 -0000
@@ -25,6 +25,9 @@
/* from environment and PATH */
#undef LOGIN_PROGRAM_FALLBACK
+/* Path to passwd program */
+#undef PASSWD_PROGRAM_PATH
+
/* Define if your password has a pw_class field */
#undef HAVE_PW_CLASS_IN_PASSWD
Index: auth-pam.c
===================================================================
RCS file: /cvs/openssh/auth-pam.c,v
retrieving revision 1.54
diff -u -r1.54 auth-pam.c
--- auth-pam.c 28 Jul 2002 20:24:08 -0000 1.54
+++ auth-pam.c 20 Nov 2002 13:12:12 -0000
@@ -60,7 +60,7 @@
/* states for do...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...*/
/* #undef BROKEN_SETRESUID */
/* #undef BROKEN_SETRESGID */
#define SPT_TYPE SPT_REUSEARGV
/* #undef SPT_PADCHAR */
/* #undef BROKEN_SYS_TERMIO_H */
/* #undef HAVE_SECUREWARE */
#define LOGIN_PROGRAM_FALLBACK "/bin/login"
#define _PATH_PASSWD_PROG "/usr/bin/passwd"
/* #undef HAVE_PW_CLASS_IN_PASSWD */
/* #undef HAVE_PW_EXPIRE_IN_PASSWD */
/* #undef HAVE_PW_CHANGE_IN_PASSWD */
/* #undef HAVE_ACCRIGHTS_IN_MSGHDR */
#define HAVE_CONTROL_IN_MSGHDR 1
/* #undef BROKEN_INET_NTOA */
#define HAVE_SYS_ERRLIST 1
#define HAVE_SYS_NERR 1
/* #undef IP_TOS_IS_BROKEN */
/* #undef HAVE_GETUSERATTR */
#define...