System Administration Guide: Resource Management and Network Services

How to Control File Access Commands

To use the permission capabilities in ftpaccess to specify what type of user is allowed to perform which commands, do the following:

  1. Become superuser.

  2. Add the following entries to the ftpaccess :


    command yes|no typelist
    

    command

    The commands chmod, delete, overwrite, rename, or umask

    yes|no

    Allows or disallows a user to issue a command 

    typelist

    A comma-separated list of any of the keywords "anonymous," "guest," and "real" 

Example-How to Control File Access Commands

The following are examples of permissions that are set for file access functions on FTP server.


chmod no anonymous, guest
delete    no anonymous
overwrite no anonymous
rename    no anonymous
umask     no guest, anonymous

The preceding example states the following: