Date: Mon, 15 Mar 1999 18:35:57 -0500 (EST) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: shawn@cpl.net (Shawn Ramsey) Cc: questions@FreeBSD.ORG Subject: Re: passwd change? Message-ID: <199903152335.SAA01581@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <19990315151853.A26297@cpl.net> from Shawn Ramsey at "Mar 15, 99 03:18:53 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Shawn Ramsey wrote,
> How can I allow normal users to change their passwd to all lowercase, all
> alpha passwd? I get this error now :
>
> Please don't use an all-lower case password.
> Unusual capitalization, control characters or digits are suggested.
>
> Is there an easy way around this?
You can edit the check out of the source code and recompile. From
src/usr.bin/paswd/local_passwd.c,
for (t = p; *t && islower(*t); ++t);
if (!*t && (uid != 0 || ++tries < 2)) {
(void)printf("Please don't use an all-lower case passwor
d.\nUnusual capitalization, control characters or digits are suggested.\n");
continue;
}
Other than that, I believe non-root users are stuck. I am not aware of
a good reason to disable it, but if you really want to...
--
Crist J. Clark cjclark@home.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903152335.SAA01581>
