Operating System - HP-UX
1833018 Members
2057 Online
110048 Solutions
New Discussion

Set All Accounts to Default

 
Daniel Amaya
New Member

Set All Accounts to Default

I am wondering if there is any way, within SAM or at CLI, to set all user accounts on a system to the Default Security Settings (which can be found in the Auditing and Security section of SAM). Also, this is on a trusted system.
1 REPLY 1
Tim Nelson
Honored Contributor

Re: Set All Accounts to Default

getprdef -m

will show you the system defaults.

If users are not already at defaults then you will need to change a number of settings to "-1" which means the default.

They can be changed using the modprpw -m OPTION username