[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 678
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

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