System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Password policies on Trusted System

Fabio Ettore
Honored Contributor

Password policies on Trusted System

Hello everybody!

I would like to set the following policies on password in a Trusted System environment:

- an user cannot create passwords with the same character repeated three times (e.g. aaa);
- an user cannot create a password with blank spaces.

How to do it?

Helps would be appreciated.

Thanks in advance!

Best regards,
Ettore
WISH? IMPROVEMENT!
5 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: Password policies on Trusted System

Hi Fabio,

I think the answer is the /usr/lbin/modprpw command. Below is a doc with some examples.

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072806664

Hope this helps,

Kind regards and good Easter Holiday :-)

Robert-Jan
RAC_1
Honored Contributor

Re: Password policies on Trusted System

- an user cannot create passwords with the same character repeated three times (e.g. aaa)

Put in /etc/default/security file. In this file put PASSWORD_HISTORY_DEPTH=x
man 4 security for details.

- an user cannot create a password with blank spaces
/usr/lbin/modprpw -m nullpw=NO "user_name"

Anil
There is no substitute to HARDWORK
Fabio Ettore
Honored Contributor

Re: Password policies on Trusted System

Thanks all for your answers.
I'll try your suggestions.
Rob, thanks for doc, it is interesting about my goal.

Best regards...and very very happy EASTER for you! :-)
Ettore
WISH? IMPROVEMENT!
Darren Prior
Honored Contributor

Re: Password policies on Trusted System

Hi Ettore,

I don't believe that you can easily achieve either of these requirements. The only way round is to create a "black list" of unwanted words (including aaa, bbb, etc) to insert into the dictionary, then turn on password triviality checking.

regards,

Darren.
Calm down. It's only ones and zeros...
Fabio Ettore
Honored Contributor

Re: Password policies on Trusted System

ok
WISH? IMPROVEMENT!