From owner-freebsd-questions Mon Mar 15 15:36:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id C7D4014D1E for ; Mon, 15 Mar 1999 15:36:22 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id SAA01581; Mon, 15 Mar 1999 18:35:57 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199903152335.SAA01581@cc942873-a.ewndsr1.nj.home.com> Subject: Re: passwd change? In-Reply-To: <19990315151853.A26297@cpl.net> from Shawn Ramsey at "Mar 15, 99 03:18:53 pm" To: shawn@cpl.net (Shawn Ramsey) Date: Mon, 15 Mar 1999 18:35:57 -0500 (EST) Cc: questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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