Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 1997 01:57:10 -0700 (PDT)
From:      vova@folco.lms.ru
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/3540: sudo package don't accept passwords longer then 8 characters
Message-ID:  <199705080857.BAA16735@hub.freebsd.org>
Resent-Message-ID: <199705080900.CAA16849@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3540
>Category:       ports
>Synopsis:       sudo package don't accept passwords longer then 8 characters
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  8 02:00:01 PDT 1997
>Last-Modified:
>Originator:     Vladimr B. Grebenschikov
>Organization:
PlugCom
>Release:        2.2-RELEASE
>Environment:
FreeBSD folco.lms.ru 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Thu Mar 27 15:11:35 MSK 1997     vova@folco.lms.ru:/usr/src/sys/compile/Folco  i386

>Description:
I can't do sudo with password longer 8 chars
sudo v1.5.3

>How-To-Repeat:
setup your password longer 8 chars, include yourself to sudoers file
run sudo

>Fix:
I fix it very stupid:

--- ports/security/sudo/work/sudo.v1.5.3/compat.h~   Thu Nov 14 05:37:21 1996
+++ ports/security/sudo/work/sudo.v1.5.3/compat.h    Thu May  8 12:45:06 1997
@@ -104,7 +104,7 @@
 #        if (SHADOW_TYPE != SPW_NONE)
 #          define _PASSWD_LEN  24
 #        else
-#          define _PASSWD_LEN  8
+#          define _PASSWD_LEN  24
 #        endif /* SHADOW_TYPE != SPW_NONE */
 #      endif /* PASS_MAX */
 #    endif /* !_PASSWD_LEN */


>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705080857.BAA16735>