Message: 5 Date: Thu, 12 May 2005 08:41:20 -0400 From: Matt Hyclak hyclak@math.ohiou.edu Subject: Re: [CentOS] About strongs passwords! To: centos@centos.org Message-ID: 20050512124120.GB5989@math.ohiou.edu Content-Type: text/plain; charset="us-ascii"
On Thu, May 12, 2005 at 08:35:03AM -0500, israel.garcia@cimex.com.cu enlightened us:
List, It's amazing the soon the messages on this list are answered, I
am
glad and I want to thank you all for that...
Here is my question, I have a DataBase CentOS server working with
about
150 users connected via ssh, so I want to set up for all users strongs passwords, I mean, 8 or more caracters, with ,.;* , ect....... Is
there
some option, bash command which do that?
Great, but:
1. My users have to work on the shell because, they run a C++ scritp to work in tha database.. 2. So I want to force my users to pick a strong password.. Is there some command, tool to do this?
Regards, Israel
The mkpasswd command included in the expect RPM can generate them for you. A little shell scripting will change the passwords for the users.
Matt
On Fri, 2005-05-13 at 11:18 -0500, israel.garcia@cimex.com.cu wrote:
Here is my question, I have a DataBase CentOS server working with
about
150 users connected via ssh, so I want to set up for all users strongs passwords, I mean, 8 or more caracters, with ,.;* , ect....... Is
there
some option, bash command which do that?
Great, but:
- My users have to work on the shell because, they run a C++ scritp to
work in tha database.. 2. So I want to force my users to pick a strong password.. Is there some command, tool to do this?
Isreal-
Take a look at /etc/pam.d/system-auth in particular, the password entry involving pam_cracklib
password requisite /lib/security/$ISA/pam_cracklib.so retry=3
The docs for this pam module may be found in
/usr/share/doc/pam-0.77/txts/README.pam_cracklib
It also looks like there is a pam module called pam_passwdqc with docs located in /usr/share/doc/pam_passwdqc-0.7.5 which from a quick glance wlll do strength checking.
Hope this helps, Sean