


Maintenance Commands                           ssadm-logmacro(1M)



NAME
     ssadm-logmacro - manipulate SunScreen logmacro objects

AVAILABILITY
     SUNWicgSS

SYNOPSIS
     ssadm [ -r screen ] logmacro expand macroname
     ssadm -r screen logmacro add macrokey macrovalue ...
     ssadm -r screen logmacro delete macrokey
     ssadm -r screen logmacro print [macrokey]
     ssadm -r screen logmacro names[,flat]

DESCRIPTION
     ssadm logmacro, when used with the  expand  verb,  processes
     the  value  portion of the logmacro macroname, expanding the
     names of registry address objects, registry service objects,
     and  other  logmacros  into  their corresponding values.  It
     functions in this mode on a local screen or against a remote
     screen (once access has been established using ssadm login).

     The other usages of ssadm logmacro allow definition of  log-
     macros  in  a  registry-like  facility  which  is local to a
     secondary screen.  This secondary  macro  capability  mimics
     the functionality of the primary SunScreen registry, provid-
     ing a means to deal  with  emergency  situations  and  other
     issues  of  expediency  where  the  process of central macro
     definition and mass activation is unacceptable in  the  face
     of  the urgent conditions at hand.  It is good general prac-
     tice to collect such secondary macros back into the  primary
     registry as soon as practical for permanent storage and pro-
     pagation.  The syntax used to manipulate secondary macros is
     equivalent  to  that  of  the primary registry given in log-
     macro(4) and ssadm-edit(1m).

     The expand, print,  and  names  verbs  require  READ  access
     privilege   on   the  screen  where  logmacro  expansion  is
     requested.  The add and delete verbs  require  WRITE  access
     privilege.

EXAMPLES
     # ssadm logmacro expand suspicious
     logwhy 256 logiface le0 ( from 1.2.3.4 or from 2.3.4.0..2.3.4.255 )
     # ssadm logmacro -r screen print name=suspicious
     NAME="suspicious" VALUE="logwhy 256 logiface le0 host suspects" ...
     # ssadm logdump -i a.log -V `ssadm logmacro expand suspicious`

SEE ALSO
     logmacro(4), ssadm(1M), ssadm-edit(1M), ssadm-logdump(1M)






                   Last change: 20 April 1999                   1



