cancel
Showing results for 
Search instead for 
Did you mean: 

5 charachet password

tayal
Occasional Contributor

5 charachet password

Hello All,

I am facing a problem with HP-UX trusted system.

By mistake one of my collegue has changed the passowrd of a appliction and earlier the password of the that user was of 5 character.

Now i am not able to set the passoword to 5 charac due to trusted system of HP.

Is there any way to set the password to 5 charac in a trusted system and what could br the impact...

regards,
tayal
7 REPLIES
Prasanth V Aravind
Trusted Contributor

Re: 5 charachet password

very easy ....

run command " /usr/sbin/passwd username " from root user & give any password you want.


/usr/sbin/passwd wort check any password policies before changing password.

GUdluck
Prasanth
tayal
Occasional Contributor

Re: 5 charachet password

Hello Prasanth,

If it was too easy so what the use of a trusted system.

have you ever worked upon a trusted system it's not allow u to set a password less than 6 character
Prasanth V Aravind
Trusted Contributor

Re: 5 charachet password

yes tayal..


i have worked on trusted system... I had rested systems ..did the same for lots of time.

You can have a try on any test server you have doubt...

let the server trusted or no trusted, tell me what is the diffrence bitween /usr/bin/passwd & /sbin/passwd???

GUdluck
Prasanth
tayal
Occasional Contributor

Re: 5 charachet password

Hello Parsanth,

i am getting below error while trying to change the password and keeping it as of 5 character

=================
Enter choice here: p
New password:
Invalid MIN_PASSWORD_LENGTH in /etc/default/security - valid range is 6-80
Password too short - must be at least 6 characters
New password:
==================

regards,
tayal
tayal
Occasional Contributor

Re: 5 charachet password

Hello Prasanth,

Below is the answer of the question asked by you

=============
/usr/bin/passwd is dynamically linked and depends on shared executables to be present for successful execution. /sbin/passwd doesnt depend on shared libaries.

file /usr/bin/passwd
/usr/bin/passwd: PA-RISC1.1 shared executable dynamically linked

file /sbin/passwd
/sbin/passwd: PA-RISC1.1 shared executable

=================


waiting for your reply
Dennis Handly
Acclaimed Contributor

Re: 5 charachet password

>Prasanth: tell me what is the difference between /usr/bin/passwd & /sbin/passwd?

Are you trying to confuse the author by asking this question?
These commands are slightly different.
singh sanjeev
Trusted Contributor

Re: 5 charachet password

you can try with this tweak...
Rename the /etc/deafault/security temprorialy as root
#mv /etc/deafault/security /etc/deafault/security.old

change the password and try to keep it to 5.

if it work then rename the /etc/deafault/security

#mv /etc/deafault/security.old /etc/deafault/security


second :

try to deactivate the password policy of application account via SAM.

third...

if you know the same account on any system which has 5 character password:

copy the encrypted character in TCB location of account. /tcb/files/auth/?/?

hope it give you some hint or soultion to meet your objective.
Sanjeev Singh