z/OS Infoprint Server Printer Inventory for PSF
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Running aopsetup

z/OS Infoprint Server Printer Inventory for PSF
SA38-0694-00

Running aopsetup

You must run aopsetup before you start Infoprint Server for the first time. Also, you must run aopsetup whenever you move to a new z/OS® release.

Before you begin:

  • Define the RACF® groups for Infoprint Server operators and administrators.
  • Create the Infoprint Server configuration file (aopd.conf) and specify the base-directory attribute in it.
  • Make sure that the file systems that contain the /usr/lpp/Printsrv/bin and /var or /var/Printsrv directories are mounted read/write.
  • You should run aopsetup before you start Infoprint Server. However, if you attempted to start Infoprint Server before running aopsetup, stop Infoprint Server before doing this step.

To run aopsetup:

  1. On the z/OS UNIX command line, switch to an effective UID of 0:
    su
    To use the z/OS UNIX su command, you must be permitted to the BPX.SUPERUSER profile in the FACILITY class in RACF.

    _______________________________________________________

  2. Run aopsetup. You can run aopsetup from an rlogin shell or from an OMVS session.

    Examples:

    • If you defined group AOPOPER for operators and group AOPADMIN for administrators, enter:
      /usr/lpp/Printsrv/bin/aopsetup AOPOPER AOPADMIN
    • If you want to run aopsetup while the /usr/lpp/Printsrv directory is mounted at a /service mount point, specify the service directory in the INSTALL_DIR environment variable. For example, enter:
      INSTALL_DIR=/service/usr/lpp/Printsrv aopsetup AOPOPER AOPADMIN

    _______________________________________________________

  3. Switch back to your own UID:
    exit

    _______________________________________________________

Results: If you specified the AOPOPER and AOPADMIN groups as arguments to aopsetup, output from the z/OS UNIX ls command should look similar to the sample output shown. Also, the owner ID of the /var/Printsrv directory and the executable files, shown as ROOT in the sample output, should have a UID of 0.

  • ls  -d -E /var/Printsrv
    
    drwxrwx--x       11 ROOT   AOPADMIN ... ... /var/Printsrv 
  • ls -E /usr/lpp/Printsrv/bin
    ...
    -rwx--S---  a---  2 ROOT   AOPADMIN ... ... aopd
    -rwxr-x---  --s-  2 ROOT   AOPADMIN ... ... aoplogu
    -rwxr-x---  a-s-  2 ROOT   AOPOPER  ... ... aopsend
    -rwsr-xr--  --s-  2 ROOT   AOPOPER  ... ... aopstart
    -rwxr-x---  a-s-  2 ROOT   AOPOPER  ... ... aopstat
    -rwsr-x---  a-s-  2 ROOT   AOPOPER  ... ... aopstop
    -rwxr-x---  a-s-  2 ROOT   AOPADMIN ... ... hinvu
    -rwxr-x---  --s-  2 ROOT   AOPADMIN ... ... pidu
    -rwxr-x---  a-s-  2 ROOT   AOPADMIN ... ... sdbu      

Tip: To display the UID of the owner ID, you can use the -n option on the ls command.

Related information:

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014