z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for authorizing selected users to transfer ownership of any file

z/OS UNIX System Services Planning
GA32-0884-00

Before you begin: You need to know which users will be assigned superuser authority.

Perform the following steps to authorize selected users to transfer ownership of any file.

  1. Define a profile in the UNIXPRIV class to protect the resource called SUPERUSER.FILESYS.CHOWN.
    RDEFINE UNIXPRIV SUPERUSER.FILESYS.CHOWN UACC(NONE)

    In general, generic profile names are allowed for resources in the UNIXPRIV class (with a few exceptions, such as SHARED.IDS and FILE.GROUPOWNER.SETGID).

    Tip: To assign all file system privileges, you can define a profile called SUPERUSER.FILESYS.**.

    _______________________________________________________________

  2. Assign selected users or groups as appropriate.
    PERMIT SUPERUSER.FILESYS.CHOWN CLASS(UNIXPRIV)
           ID(appropriate-groups-and-users) ACCESS(READ) 

    _______________________________________________________________

  3. Activate the UNIXPRIV class, if it is not currently active at your installation.
    SETROPTS CLASSACT(UNIXPRIV)
    If you do not activate the UNIXPRIV class and activate SETROPTS RACLIST processing for the UNIXPRIV class, only superusers are allowed to transfer ownership of any file.

    _______________________________________________________________

  4. Activate SETROPTS RACLIST processing for the UNIXPRIV class, if it is not already active.
    SETROPTS RACLIST(UNIXPRIV)
    If SETROPTS RACLIST processing is already in effect for the UNIXPRIV class, you must refresh SETROPTS RACLIST processing in order for new or changed profiles in the UNIXPRIV class to take effect.
    SETROPTS RACLIST(UNIXPRIV) REFRESH

    _______________________________________________________________

When you are done, you have authorized selected users to transfer ownership of any file.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014