Operating System - HP-UX
1753510 Members
5820 Online
108795 Solutions
New Discussion юеВ

not able to login after changing passwd on trusted Hp-UX box

 
kashyapi
Frequent Advisor

Re: not able to login after changing passwd on trusted Hp-UX box

Thanks sunny for quick response.I already tried changing password using passwd command.i tried fora user account which was able to login to the box , but changing the password using passwd command this user also not able to login.it seems whoever user will change the password using passwd command , will not be able to login.it says.." access denied"
Johnson Punniyalingam
Honored Contributor

Re: not able to login after changing passwd on trusted Hp-UX box

than i suspect you check your "password security file" if it has any conditions ?

while settings password

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: not able to login after changing passwd on trusted Hp-UX box

did you check /etc/default/security file yet ?
Problems are common to all, but attitude makes the difference
kashyapi
Frequent Advisor

Re: not able to login after changing passwd on trusted Hp-UX box

Hi Johnson,

can you pls tell me which file ("password security file")it is and what is the absolute path.
kashyapi
Frequent Advisor

Re: not able to login after changing passwd on trusted Hp-UX box

Hi Johnson,
Following is the content

HOSTA:/>cat /etc/default/security
PASSWORD_HISTORY_DEPTH=3
MIN_PASSWORD_LENGTH=6
HOSTA:/>
Johnson Punniyalingam
Honored Contributor

Re: not able to login after changing passwd on trusted Hp-UX box

Ok, so your MIN_PASSWORD_LENGTH ="6"

1qazxsw2 -> can you try setting this password
Problems are common to all, but attitude makes the difference
Sunny123_1
Esteemed Contributor

Re: not able to login after changing passwd on trusted Hp-UX box

Hi

Try following

first do the

passwd -d username

then check if user can login then set passwd again with passwd command and try to login.


-d = Allow user to login without a password by deleting it. In untrusted mode this unlocks/activates the user account if found locked/deactivated.

Regards
Sunny
kashyapi
Frequent Advisor

Re: not able to login after changing passwd on trusted Hp-UX box

John,

Tried, but no luck.
Johnson Punniyalingam
Honored Contributor

Re: not able to login after changing passwd on trusted Hp-UX box

This very strange !!!!!! :(

grep /etc/passwd -> output

does the user_account have any shell to login or if its only ftp account ?
Problems are common to all, but attitude makes the difference
kashyapi
Frequent Advisor

Re: not able to login after changing passwd on trusted Hp-UX box

Sunny,

I think password security policy does not allow to assign null password.following is output
HOSTA:/>passwd -d suadm
You are not allowed to have a null password.
HOSTA:/>