password length

password length

am 25.02.2004 16:41:18 von Luca Ferrari

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?

Thanks,
Luca

--
Luca Ferrari,
fluca1978@virgilio.it

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: password length

am 25.02.2004 17:21:21 von Jens Knoell

Luca Ferrari wrote:
> 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?

Sounds like your system still uses crypt passwords... which kinda makes it a
really old system :)
I'd recommend a system update.

Jens

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: password length

am 25.02.2004 17:23:18 von Emiliano Castagnari

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 ] { -
--------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html