aboutsummaryrefslogtreecommitdiff
path: root/security/ssh2/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh2/files/patch-ai')
-rw-r--r--security/ssh2/files/patch-ai16
1 files changed, 8 insertions, 8 deletions
diff --git a/security/ssh2/files/patch-ai b/security/ssh2/files/patch-ai
index 022941dcb42f..4fdb60571ff5 100644
--- a/security/ssh2/files/patch-ai
+++ b/security/ssh2/files/patch-ai
@@ -1,6 +1,6 @@
---- lib/sshsession/sshunixuser.c.orig Thu Mar 30 21:41:05 2000
-+++ lib/sshsession/sshunixuser.c Wed May 17 18:15:10 2000
-@@ -55,6 +55,10 @@
+--- lib/sshsession/sshunixuser.c.orig Thu Aug 24 17:40:39 2000
++++ lib/sshsession/sshunixuser.c Sun Aug 27 01:21:57 2000
+@@ -86,6 +86,10 @@
#define SSH_DEBUG_MODULE "SshUnixUser"
@@ -11,7 +11,7 @@
extern char *crypt(const char *key, const char *salt);
/* Data type to hold machine-specific user data. */
-@@ -736,6 +740,24 @@
+@@ -1224,6 +1228,24 @@
/* Set uid, gid, and groups. */
if (getuid() == UID_ROOT || geteuid() == UID_ROOT)
{
@@ -36,11 +36,11 @@
if (setgid(ssh_user_gid(uc)) < 0)
{
SSH_DEBUG(2, ("ssh_user_become: setgid: %s", strerror(errno)));
-@@ -773,6 +795,7 @@
- (int)ssh_user_uid(uc)));
- return FALSE;
+@@ -1280,6 +1302,7 @@
}
+ #endif /* HAVE_SIA */
+ #endif /* SSHDIST_SESSION_SIA */
+#endif /* HAVE_LOGIN_CAP_H */
}
- /* We are now running with the user's privileges. */
+ #ifdef KERBEROS