1 04/08/85 send_daemon_command
 2 
 3 Syntax as a command:
 4    send_daemon_command request source_id {Personid.Project}
 5    {command_line}
 6 
 7 
 8 Function:  allows control over daemon processes from normal user
 9 processes.  This command may be used to send an arbitrary command line
10 to a daemon, send a QUIT signal to a daemon, log in a daemon, and log
11 out a daemon.
12 
13 
14 Arguments:
15 request
16    is a keyword which represents the desired action to be performed.
17    It can be either "login", "logout", "reply", or "quit".
18 source_id
19    is the message coordinator source id over which the daemon of
20    interest is logged in (or is to be logged in).
21 Personid.Project
22    is the userid which must be supplied for the login request and is
23    not allowed for any other request.  It specifies which userid to
24    login over the specified source_id
25 command_line
26    is the command line to be sent to the daemon for the "reply"
27    request, and the optional login arguments for the "login" request.
28    The command line cannot be supplied for the "logout" or "quit"
29    requests.  If the command line contains special characters, you must
30    enclose them (or the whole command line) in quotes.
31 
32 
33 Access Required:  If the installation parameter
34 validate_daemon_commands is not enabled, RW access to
35 >sc1>admin_acs>send_daemon_command.acs is required to use this command.
36 
37 If the validate_daemon_commands installation parameter is enabled,
38 access to individual daemons is controlled by the ACL on message
39 coordinator access control segments (MCACS) located in the directory
40 >sc1>mc_acs.  For example, the ACL on >sc1>mc_acs>rp.mcacs controls
41 access to use of the "rp" source_id.  "c" access is required to use the
42 "login" or "logout" requests, "q" access is required to use the "quit"
43 request, and "r" access is required to use the "reply" request.  For
44 the "login" request, the daemon specified by Personid.Projectid must
45 have "d" access to the MCACS segment.
46 
47 
48 Examples:
49 send_daemon_command login rp Repair.SysDaemon -auth system_high
50 
51 send_daemon_command quit rp
52 
53 send_daemon_command reply rp pwd
54 
55 send_daemon_command logout rp