Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Contents
30
Using SAM with PAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
System-Wide Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
Per-User Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
The pam.conf Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
The pam_user.conf Configuration File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
How PAM Works: A Login Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850
Secure Internet Services (SIS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
Operating with Secure and Nonsecure Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
Security Patch Check. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
Working with a Firewall. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
9. Administering a Workgroup
Managing Disks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860
Adding a Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861
Adding a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862
Adding a Logical Volume with Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 863
Extending a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 864
Extending a Logical Volume When You Can’t Use SAM. . . . . . . . . . . . . . . . . . . . 866
Reducing a Logical Volume. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
Removing a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
Adding a Mirror to an Existing Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . 870
Removing a Mirror from a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872
Replacing a Mirrored Disk in a Logical Volume . . . . . . . . . . . . . . . . . . . . . . . . . . 872
Moving a Directory to a Logical Volume on Another System . . . . . . . . . . . . . . . . 874
How To: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878
Determining What Version of the HP-UX Operating System is Running. . . . . . . . 879
Backing Up and Recovering Directories: Quick Reference for tar. . . . . . . . . . . . . . 880
Breaking Out of the Boot Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 881
Checking the System’s Run Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882
Managing Groups of Distributed Systems or Serviceguard Clusters . . . . . . . . . . . 882
Diagramming a System’s Disk Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 882