Operating System - HP-UX
1819794 Members
3203 Online
109607 Solutions
New Discussion юеВ

how can we set the never expire password to the user in HP-UX?

 
SOLVED
Go to solution
unixguy_1
Regular Advisor

how can we set the never expire password to the user in HP-UX?

How we can set eth never expire password to the user in HP-UX (11.11,11.23 & 11.31)?

please give the syntax and one examble?

thanks in advance....

by
Unixguy.
13 REPLIES 13
Jupinder Bedi
Respected Contributor
Solution

Re: how can we set the never expire password to the user in HP-UX?

/usr/lbin/modprpw -m exptm=0,lftm=0,mintm=0,expwarn=0,llog=0

Good luck
All things excellent are as difficult as they are rare
Johnson Punniyalingam
Honored Contributor

Re: how can we set the never expire password to the user in HP-UX?

>>How we can set eth never expire password to the user in HP-UX (11.11,11.23 & 11.31)?<<

All above HP-UX 11.11,11.23 & 11.31) Trusted System or Non Trusted System
Problems are common to all, but attitude makes the difference
unixguy_1
Regular Advisor

Re: how can we set the never expire password to the user in HP-UX?

Is this same command for all the version of HP-UX?

Johnson Punniyalingam
Honored Contributor

Re: how can we set the never expire password to the user in HP-UX?

trusted system you can do with "modprpw" -> command
non-trsuted system "passwd" -> command

man passwd -> for more information
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: how can we set the never expire password to the user in HP-UX?

Check below thread -> get some more clarification

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1264079028843+28353475&threadId=1263056
Problems are common to all, but attitude makes the difference
Sunny123_1
Esteemed Contributor

Re: how can we set the never expire password to the user in HP-UX?

Hi

Yes it is the same command in all HP-UX systems and you can use SAM also to do this.

SAM>>Users & accounts >> users>>username

Select the user and go to action menu then go to modify securities policy.


Regards
Sunny
Johnson Punniyalingam
Honored Contributor

Re: how can we set the never expire password to the user in HP-UX?

>>Unixguy<<

You can use command line or Better if you could to complete your task if you are not comfortable with typing commands :)
Problems are common to all, but attitude makes the difference
Tingli
Esteemed Contributor

Re: how can we set the never expire password to the user in HP-UX?

For non-trusted system:

passwd -x -1 username
Dennis Handly
Acclaimed Contributor

Re: how can we set the never expire password to the user in HP-UX?

>Tingli: For non-trusted system: passwd -x -1 username

This doesn't work on 11.11 but SAM does.
Amitav
Frequent Advisor

Re: how can we set the never expire password to the user in HP-UX?

You can do this thru SAM...!!
AVV
Super Advisor

Re: how can we set the never expire password to the user in HP-UX?

Hi ,

You can simply give the nonexpiry passwords as below

#passwd -x -1 username

and see the change after

#passwd -s username
unixguy_1
Regular Advisor

Re: how can we set the never expire password to the user in HP-UX?

Thank you everyone, for your time to guide me....

thanks a lot friends....

Regards,
Unxiguy.



unixguy_1
Regular Advisor

Re: how can we set the never expire password to the user in HP-UX?

thanks friends....

Regards,
Unixguy.