HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

How to enable the security access in HP-UX

Go to solution
Mohammed Haris Khan
Occasional Advisor

How to enable the security access in HP-UX


In my company all unix accounts are set as default.If thE ID and passwd is given wrong for 3 times it doesnot get locked out. As the root account. where as the "/usr/lbin/getprpw and modprpw" is not configured. I would like to restict the security access to all the user id to set. Please explain me from the basic how to configure the security system.

Even in SAM GUI it does'nt shows the life time period of password , locked or unlocked information , passwd expiration date, etc etc... Please i need to configure all these in my company please help me ASAP.

R.K. #
Honored Contributor

Re: How to enable the security access in HP-UX

Hi Haris,

You can convert your server into Trusted one.

1. Backup your /etc/passwd before converting to trusted mode.
2. #sam -> security -> Audited systems

By Commnad line:
# /etc/tsconvert -c
and then;
# /usr/lbin/modprpw -V


You can go through the above doc for more details.

Hope this helps.
Don't fix what ain't broke
Trusted Contributor

Re: How to enable the security access in HP-UX

You need to convert your system to a trusted one to enforce the account/password policies.

RK is right.

but make sure you convert a dev server first, test on this with approval of your apps, DB teams.

after converting to trusted mode, test your applications, DBS and other user accounts

if everything is OK, then move on to QA and PROD servers.
Sajjad Sahir
Honored Contributor

Re: How to enable the security access in HP-UX

Dear friend

u system is not trusted mode.Convert u system in trusted mode.

modprpw and getprpw will work only in trusted system.

thanks and regards

Sajjad Sahir

Steven E. Protter
Exalted Contributor

Re: How to enable the security access in HP-UX


Trusted system is deprecated in HP-UX 11.31. As I recall that is the last version of the Os that will provide this feature.

You need to be aware of it for the long term.

You can use Trusted System now without trouble, but that is not an option after 11.31. Other tools providing the same functionality are offered at http://software.hp.com for 11.31 and maybe your OS, if I knew what it was.

Steven E Protter
Owner of ISN Corporation
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com