ssadm-lock(1M)

NAME
ssadm-lock - manipulate a SunScreen policy access lock

AVAILABILITY
SUNWicgSS

SYNOPSIS
ssadm lock -w policy ...
ssadm lock -c policy ...

DESCRIPTION
ssadm lock manipulates the locks that protect policies and the common objects registry from simultaneous modification by multiple administrators. There is one lock for each named policy maintained by ssadm-policy(1M) and a separate lock for the common objects registry. Note that saved versions of a policy (e.g. Initial.6) do not have separate locks; they fall under the protection of the main lock for the policy (e.g. Initial). Each policy given is the name of a policy or the special name Registry which refers to the common objects registry.

ssadm lock -w prints a line of text describing the status of the lock. ssadm lock -c forcibly breaks the lock and attempts to terminate (with a SIGHUP signal) the previous holder of the lock.

If you have trouble making configuration changes due to locks being held, you may have to forcibly unlock both the policy and the common objects registry.

EXAMPLE
# ssadm lock -w Initial
Lock held by admin@198.41.0.6 process id:8977
# ssadm lock -c Initial Registry
# ssadm lock -w Initial
Lock available

SEE ALSO
ssadm(1M), ssadm-edit(1M), ssadm-policy(1M)