{ 3 comments… read them below or add one }

1 Carl September 11, 2007 at 10:07 am


I just wanted to find out if you could provied me with a script/command that outputs the security settings on a monitor to see if there are accounts without passwords, how many, which ones and if there can be set a minimum password length put in place. Any commands to set password age for any password in effect and similar things.

Your correspondence will be much appreciated.


2 mohan May 24, 2010 at 8:34 am

first we need to give the command
#/etc/default/login . we can edit through vi editor and remove the comment of password aging and password length.


3 J December 23, 2009 at 3:20 am

I usually just run the below script and lock the account manually. :)
passwd -Sa | grep NP


Leave a Comment

Tagged as: , , , , , , , , , , , , ,

Previous post:

Next post: