Secure NFS on HP-UX 11i v3

Secure NFS on HP-UX 11i v3
Dave Olker
dave.olker@hp.com
Virtualization, Security, Storage & Networking Lab
Table of Figures ................................................................................................................................... 2
Table of Tables .................................................................................................................................... 2
Secure NFS Test Environment used in this Paper ...................................................................................... 2
I. Introduction ................................................................................................................................. 3
II. Install and Configure the Kerberos Server ........................................................................................ 4
A. Download and Install the Kerberos Server Software ..................................................................... 4
B. Configure the Kerberos Server ................................................................................................... 4
III. Add Required Kerberos Credentials to the Realm ............................................................................ 7
A. Create Credentials for NFS Services ........................................................................................... 7
B. Create Credentials for Users ...................................................................................................... 7
C. Create Credentials for the Serviceguard NFS Toolkit (Optional) ..................................................... 8
IV. Prepare NFS Clients and Servers to use Kerberos ........................................................................... 9
A. Update ONCplus Software ....................................................................................................... 9
B. Configure the Kerberos Client .................................................................................................... 9
C. Activate Kerberos Entries in the /etc/nfssec.conf File ........................................................... 9
D. Initialize the gsscred(1M) Database .......................................................................................... 10
E. Configure the gssd(1M) Daemon ............................................................................................. 10
F. Synchronize Clocks with the Kerberos Server (Optional) ............................................................. 11
G. Test the Kerberos Credentials ................................................................................................... 11
V. Configure the Secure NFS Server ................................................................................................. 12
A. Extract “nfs” Principals and Store them in the Server’s Keytab File ................................................ 12
B. Configure Shared Filesystems with Desired Security Modes ......................................................... 13
VI. Configure the Secure NFS Client ................................................................................................. 15
A. Manual mount_nfs(1M) Command Syntax ................................................................................. 15
B. Configuring Secure NFS filesystems via /etc/fstab ................................................................ 16
C. Configuring Secure NFS filesystems via AutoFS ......................................................................... 16
VII. Using Secure NFS with Serviceguard (Optional) ........................................................................... 17
For More Information ......................................................................................................................... 19

Summary of content (19 pages)