1834798 Members
2937 Online
110070 Solutions
New Discussion

Reporting on SAM

 
SOLVED
Go to solution
Eric Herr
Advisor

Reporting on SAM

I am new to HPUX world and I am trying to write scripts to collect files for later security analysis. Particularly, I am having trouble finding password aging for specific user accounts and default password length. Most information I have found tells me to view a user account in SAM or edit the SAM security policy. What files should I grab that contain this information? In solaris they are the /etc/shadow and /etc/default/passwd files.

Thanks in advance.
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: Reporting on SAM

If your system is in trusted mode, you can get all information you require through following commands.

getprpw
getprdef
modprpw
modprdef

Check man pages for all.

If system is not in trusted mode, you get all these required information with logins command. man logins for details.

Anil
There is no substitute to HARDWORK
Kevin Wright
Honored Contributor

Re: Reporting on SAM

look under /tcb. If your system is trusted, all your user accounts password info is here.
modprpw, getprpw should help.
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: Reporting on SAM

Also, you can use SAM's View SAM Log tool visible under Options menuitem or tail on /var/sam/log/samlog files, while working in SAM, to trace which commands are being used and which files are being modified.

Sanjay
Dying is the last thing that I will do.