Link to home
Start Free TrialLog in
Avatar of kecoak
kecoak

asked on

Slackware, Login timeout, minimum password length,

Where I could find minimum password length setting, login timeout in Slackware?
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,

Have a look at /etc/login.defs
Avatar of kecoak
kecoak

ASKER

What if it's not set?
This is usually controlled by PAM (Pluggable Authentication Modules) ... pam_unix and/or pam_cracklib. I don't have a slackware machine handy, but it should follow the norm on this.
You can find a lot of nice info about these things on the net... For example : http://www.puschitz.com/SecuringLinux.shtml#EnforcingStrongerPasswords

And even when no minimun is specified, there usually is one built-in (don't remeberr if the default is 3 or 6 chars... Just try it:-).

-- Glenn
ASKER CERTIFIED SOLUTION
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Really? Oh well, it's been a couple of years since last I looked at it:-). Thanks for the clarification xDamox (Damian, isn't it?).

The built-in fixed minimum probably still apply... I think;-).

-- Glenn
Yep its Damian,

That it why, quote "Oh well, it's been a couple of years since last I looked at it:-)" They removed it in about version 8
because of security
Ah. Thanks again!

-- Glenn
also in /etc/login.defs

#
# Max number of login retries if password is bad
#
LOGIN_RETRIES           5

#
# Max time in seconds for login
#
LOGIN_TIMEOUT           60