- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- difference between getprpw and getprdef
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2017 05:11 AM
11-13-2017 05:11 AM
Hi,
I want to know what is the difference between getprpw and getprdef.
I am using hpux 11.31... in trusted mode.
so if i want to set expwarn value whether i should use modprpw or modprdef?
Thanks in advance
Solved! Go to Solution.
- Tags:
- getprpw and getprdef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2017 06:13 AM
11-14-2017 06:13 AM
Solution[get|mod]prpw reads/modifies the protected password entry of a specific user.
[get|mod]prdef reads/modifies the defaults for all users whose protected password entries don't have an user-specific value for that particular setting.
So, if you set expwarn with modprdef, the new value will be used by all new users created after that point, and those users whose expwarn value has been unchanged from the default setting so far.
If you have previously set a custom expwarn value for some user, and now want his/her account to use the default values, you can do
modprpw -m expwarn=DFT <username>
to make <username> again use the default expwarn value as set by modprdef.