Operating System - HP-UX
1751835 Members
5638 Online
108782 Solutions
New Discussion юеВ

to set root password expiry as NULL

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: to set root password expiry as NULL

You have 0 for: mintm exptm expwarn
But -1 for: lftm acctexp
-1 means never set but modprpw(1M) says these should be 0.

>the attributes should be set to NULL

What do you expect to achieve with NULL (probably -1) vs 0?
masood bt
Regular Advisor

Re: to set root password expiry as NULL

The tester says he wants there should be no password aging set for root user

he wants min,max and warn attributes for root as NULL
Behind every Great fortune, there is a crime
Dennis Handly
Acclaimed Contributor

Re: to set root password expiry as NULL

>there should be no password aging set for root user. he wants min, max and warn attributes for root as NULL

0 is/does the same thing.
masood bt
Regular Advisor

Re: to set root password expiry as NULL

getprpw and modprpw are the correct commands to check and modily the root user attributes on a trusted hp ux system
Behind every Great fortune, there is a crime