Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 1995 13:26:04 +0100
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        freebsd-ports@freefall.FreeBSD.org
Subject:   sudo - broken wrt passwd > 8 chars
Message-ID:  <199512141226.NAA17327@gilberto.physik.rwth-aachen.de>

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

I was pulling my (spare) hair out this morning
why I could not log into sudo initially
while another user on my machine could
and I ended up in finding that my password
had more than 8 characters.

/usr/include/pwd.h defines  _PASSWORD_LEN 128
while sudo uses the macro _PASSWD_LEN and sets it
to 8 when undefined.

The question arises if _PASSWORD_LEN is to be changed
or if the sudo port should be fixed to contain
_PASSWD_LEN set to 128 under freebsd.

I was thinking of supplying a patch-ac but then
I thought I'd better put this to discussion.

(POSIXers, speak up).



--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de





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