Operating System - HP-UX
1826373 Members
4672 Online
109692 Solutions
New Discussion

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

 
Global Service Desk
Frequent Advisor

Urgent!! Change passwd in Trusted mode (allow only chars)

Hi,

i need to change the passwd which wil have only CHARS, i dont want to give any number or special chars.

When i am trying to change the root passwd in trusted system,

New password:
Password must contain at least two alphabetic characters and
at least one numeric or special character.

How to change this policy, which file(s) needs to edited to change this policy.

This is very urgent please help!!

many Thanks!!
Govinda.'
6 REPLIES 6
Peter Godron
Honored Contributor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

Pete Randall
Outstanding Contributor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

Possibly /etc/default/security.

Do a man on security.


Pete

Pete
Ivan Krastev
Honored Contributor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

To change the policy edit /etc/default/security and change entries:

PASSWORD_MIN_DIGIT_CHARS=0
PASSWORD_MIN_SPECIAL_CHARS=0


regards,
ivan
Global Service Desk
Frequent Advisor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

i am still getting the same error

# passwd
Changing password for root
Old password:
Last successful password change for root: Wed Oct 18 08:59:08 2006
Last unsuccessful password change for root: Wed Oct 18 12:52:07 2006

New password:
Password must contain at least two alphabetic characters and
at least one numeric or special character.
New password:
You are not allowed to have a null password.
New password:
You are not allowed to have a null password.
Too many failures - try later.


# more security
#MIN_PASSWORD_LENGTH=7
#PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_SPECIAL_CHARS=0
PASSWORD_MIN_DIGIT_CHARS=0
#
Peter Godron
Honored Contributor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

HI,
from "man security":
" Note: These parameters apply only if the libpam_unix patch PHCO_24606 or later is installed."

Is it installed?
Peter Godron
Honored Contributor

Re: Urgent!! Change passwd in Trusted mode (allow only chars)

Hi,
could you please update this thread.
If the problem is resolved, please award points and close stating solution.