[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] <DAEMON> first import for Secured Cluster-wide eXecution (S
Gian Paolo Ghilardi
[gomd-devel] <DAEMON> first import for Secured Cluster-wide eXecution (SCX)
Fri, 12 Sep 2003 23:43:57 +0200
Here goes the first (incomplete) commit for the SCX facility.
Finally I found a way to execute commands and get correctly the output.
Matt: when finished, you'll be able to run "short" or "long" procs => no
problem at all! Please remember that client timeout can close the conn
before proc exit.
Check the notes below to see what's implemented ATM.
<< CVS NOTES >>
NOTE: first import for preliminar Secured Cluster-wide eXecution (SCX)
- the security check is not linked (but already coded).
- the command ("cat /etc/fstab") is hardcoded and you can't specify it =>
ASAP the complete implementation. By the way: SCX supports "short" or "long"
- the cluster-wide support must be added.
(+) added new info: exec cmd/xc/103 => starts a simple SCX test (no security
check is performed, ATM).
(-) removed the ACL objects stuff => we'll use the all-inclusive updated
(+) now the object contains all the cool stuff (ACL, new SCX,..) => threads
(connHandler objects) will use
(N) used to check and execute command. Commands are executed in separate
(child) process. We get the child process ouput and send it to the client.
(+) added new checkCommand(), parseCommand(), execCommandAndGetChildOutput()
(N) used to read the list (book) of allowed commands.
(+) added new getScxMap(), fillScxMap(), printScxMap() functions.
(+) updated to support the changed connHandler class
(+) added new info entry: exec cmd/xc/103.
- [gomd-devel] <DAEMON> first import for Secured Cluster-wide eXecution (SCX),
Gian Paolo Ghilardi <=