• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 689
  • Last Modified:

Slackware, Login timeout, minimum password length,

Where I could find minimum password length setting, login timeout in Slackware?
0
kecoak
Asked:
kecoak
1 Solution
 
xDamoxCommented:
Hi,

Have a look at /etc/login.defs
0
 
kecoakAuthor Commented:
What if it's not set?
0
 
GnsCommented:
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
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
xDamoxCommented:
Hi,

Gns slackware does not have PAM shipped with it.

kecoak you should see:

PASS_MIN_LEN    5

Change that to what you need the minimum to be
0
 
GnsCommented:
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
0
 
xDamoxCommented:
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
0
 
GnsCommented:
Ah. Thanks again!

-- Glenn
0
 
Gabriel OrozcoSolution ArchitectCommented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now