From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emiliano Castagnari Subject: Re: password length Date: Wed, 25 Feb 2004 13:23:18 -0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040225162317.GA2843@dcnet.com.ar> References: <200402251641.18029.fluca1978@virgilio.it> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <200402251641.18029.fluca1978@virgilio.it> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-admin@vger.kernel.org El [ Wed 25, Feb 04 - 16:41 ] , Luca Ferrari expreso: > Hi, > I'm trying to use password longer than 8 characters, so i set up my login.defs > file with a PASS_MAX_LEN of 18 characters, but the system does not recognize > the modification, and thus I can still log in with a 8 char password. How to > solve the problem? Try enabling md5 passwords, doing something like this on your /etc/pam.d/passwd file: # ... password required pam_unix.so nullok obscure min=5 md5 # ... This is just an example. All the magik is done by the keyword md5. Cheers -- Emiliano Castagnari # Debian Sarge - GNU/Linux - Athos 2.6.2 # # JID: pretorian@jabber.sk # ICQ: 107462374 - Nick: mem -------------------------------------------------- - } [ Libera tu mente - Libera tu Codigo ] { - --------------------------------------------------