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?
Is there some HOWto, tutorial, rules about securing, monitoring users with access to the bash shell? (They login via ssh).
Regards,
Israel Garcia
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?
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
israel.garcia@cimex.com.cu wrote:
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?
Is there some HOWto, tutorial, rules about securing, monitoring users with access to the bash shell? (They login via ssh).
Regards,
Israel Garcia
I'm not sure if this is what you're looking for, but PAM has several plugins that might help with this. These libraries enhance the authentication system to do all kinds of things.
Check out the PAM HOWTO here: http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html
If you want to enforce strong passwords with dictionary checking, minimal password lengths, certain numbers/types of characters, look at pam_cracklib.
Good luck!
--Shawn
On 5/12/05, israel.garcia@cimex.com.cu 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?
Check out this page:
http://www.puschitz.com/SecuringLinux.shtml#EnforcingStrongerPasswords
Excellent information on _exactly what you are looking for there. That section applies to what you are looking for, but the article as a whole is wonderful as well.
Thanks, Ryan