Maintenance Commands                                    chacl(1m)


NAME
     chacl - Change Access Control Entry.

SYNOPSIS
     chacl [ -I instance ] [options] [objectname ... | -]

DESCRIPTION
     The chacl command changes access  control  entry  associated
     with the specified object(s).

OPTIONS
  -I instance
     Specifies the PCNL instance name  or  number.  In  a  multi-
     instance environment instance may be specified either on the
     command line or by the environment  variable  PCNL_INSTANCE.
     If  there  is only one instance configured, it is not neces-
     sary to specify this argument.

  -a mask:SID[:success|:failure|:all]
     set audit ACE.

  -A mask:SID[:success|:failure|:all]
     set alarm ACE.

  -B mask:SID
     block/deny access ACE.

  -d
     non-filesystem object behaves as a directory.

  -D
     delete ACL for target filename.

  -g SID
     set primary group.

  -G mask:SID
     grant access ACE.

  -L logname
     execute changes as Unix user 'logname'.

  -N
     setup for a new object.

  -O name
     write output to file 'name'.

  -o SID
     set owner.

  -U name
     set subject to 'name'.

  -v
     verbose mode.

EXAMPLE
     At a Solaris console, to set the primary group  for  an  ACL
     entry for object 'objectname', type the following:
          chacl -g /home/foo/bar To overwrite an existing ACL and
     grant access ACE,  type the following:
          find   /home/foo/bar   -print   |   ./chacl    -N    -G
     RWXASM:LocalSystem -