linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* password length
@ 2004-02-25 15:41 Luca Ferrari
  2004-02-25 16:21 ` Jens Knoell
  2004-02-25 16:23 ` Emiliano Castagnari
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Ferrari @ 2004-02-25 15:41 UTC (permalink / raw)
  To: linux-admin

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: password length
  2004-02-25 15:41 password length Luca Ferrari
@ 2004-02-25 16:21 ` Jens Knoell
  2004-02-25 16:23 ` Emiliano Castagnari
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Knoell @ 2004-02-25 16:21 UTC (permalink / raw)
  To: linux-admin

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: password length
  2004-02-25 15:41 password length Luca Ferrari
  2004-02-25 16:21 ` Jens Knoell
@ 2004-02-25 16:23 ` Emiliano Castagnari
  1 sibling, 0 replies; 3+ messages in thread
From: Emiliano Castagnari @ 2004-02-25 16:23 UTC (permalink / raw)
  To: linux-admin

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-25 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 15:41 password length Luca Ferrari
2004-02-25 16:21 ` Jens Knoell
2004-02-25 16:23 ` Emiliano Castagnari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).