Re: password length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
# ICQ: 107462374 - Nick: mem
--------------------------------------------------
  - } [ Libera tu mente - Libera tu Codigo ] { -  
--------------------------------------------------

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

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux