=== modified file 'Makefile' --- Makefile 2010-09-13 05:56:48 +0000 +++ Makefile 2010-09-14 18:22:03 +0000 @@ -86,8 +86,9 @@ plugins.d/usplash plugins.d/splashy plugins.d/askpass-fifo \ plugins.d/plymouth CPROGS=plugin-runner $(PLUGINS) -PROGS=mandos mandos-keygen mandos-ctl $(CPROGS) +PROGS=mandos mandos-keygen mandos-ctl mandos-monitor $(CPROGS) DOCS=mandos.8 plugin-runner.8mandos mandos-keygen.8 \ + mandos-monitor.8 \ plugins.d/mandos-client.8mandos \ plugins.d/password-prompt.8mandos mandos.conf.5 \ plugins.d/usplash.8mandos plugins.d/splashy.8mandos \ @@ -132,6 +133,13 @@ legalnotice.xml $(DOCBOOKTOHTML) +mandos-monitor.8: mandos-monitor.xml common.ent overview.xml \ + legalnotice.xml + $(DOCBOOKTOMAN) +mandos-monitor.8.xhtml: mandos-monitor.xml common.ent overview.xml \ + legalnotice.xml + $(DOCBOOKTOHTML) + mandos.conf.5: mandos.conf.xml common.ent mandos-options.xml \ legalnotice.xml $(DOCBOOKTOMAN) @@ -178,6 +186,11 @@ --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' \ $@) +mandos-monitor: Makefile + $(strip $(SED) --in-place \ + --expression='s/^\(version = "\)[^"]*"$$/\1$(version)"/' \ + $@) + mandos.lsm: Makefile $(strip $(SED) --in-place \ --expression='s/^\(Version:\).*/\1\t$(version)/' \ @@ -261,6 +274,10 @@ install-server: doc install --directory $(CONFDIR) install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos + install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \ + mandos-ctl + install --mode=u=rwx,go=rx --target-directory=$(PREFIX)/sbin \ + mandos-monitor install --mode=u=rw,go=r --target-directory=$(CONFDIR) \ mandos.conf install --mode=u=rw --target-directory=$(CONFDIR) \ @@ -343,6 +360,8 @@ uninstall-server: -rm --force $(PREFIX)/sbin/mandos \ + $(PREFIX)/sbin/mandos-ctl \ + $(PREFIX)/sbin/mandos-monitor \ $(MANDIR)/man8/mandos.8.gz \ $(MANDIR)/man5/mandos.conf.5.gz \ $(MANDIR)/man5/mandos-clients.conf.5.gz === modified file 'mandos-monitor' --- mandos-monitor 2010-09-12 03:08:51 +0000 +++ mandos-monitor 2010-09-14 18:22:03 +0000 @@ -325,10 +325,6 @@ # self.proxy.unpause() # elif key == u"RET": # self.open() -# elif key == u"+": -# self.proxy.Approve(True) -# elif key == u"-": -# self.proxy.Approve(False) else: return key @@ -504,8 +500,8 @@ """Toggle visibility of the log buffer.""" self.log_visible = not self.log_visible self.rebuild() - self.log_message(u"Log visibility changed to: " - + unicode(self.log_visible)) + #self.log_message(u"Log visibility changed to: " + # + unicode(self.log_visible)) def change_log_display(self): """Change type of log display. @@ -516,7 +512,7 @@ self.log_wrap = u"clip" for textwidget in self.log: textwidget.set_wrap_mode(self.log_wrap) - self.log_message(u"Wrap mode: " + self.log_wrap) + #self.log_message(u"Wrap mode: " + self.log_wrap) def find_and_remove_client(self, path, name): """Find an client from its object path and remove it. === added file 'mandos-monitor.xml' --- mandos-monitor.xml 1970-01-01 00:00:00 +0000 +++ mandos-monitor.xml 2010-09-14 18:22:03 +0000 @@ -0,0 +1,233 @@ + + + + +%common; +]> + + + + Mandos Manual + + Mandos + &version; + &TIMESTAMP; + + + Björn + Påhlsson +
+ belorn@fukt.bsnet.se +
+
+ + Teddy + Hogeborn +
+ teddy@fukt.bsnet.se +
+
+
+ + 2010 + Teddy Hogeborn + Björn Påhlsson + + +
+ + + &COMMANDNAME; + 8 + + + + &COMMANDNAME; + + Text-based GUI to control the Mandos server. + + + + + + &COMMANDNAME; + + + + + DESCRIPTION + + &COMMANDNAME; is an interactive program to + monitor and control the operations of the Mandos server (see + mandos8). + + + + + PURPOSE + + The purpose of this is to enable remote and unattended + rebooting of client host computer with an + encrypted root file system. See for details. + + + + + OVERVIEW + + + This program is used to monitor and control the Mandos server. + In particular, it can be used to approve Mandos clients which + have been configured to require approval. It also shows all + significant events reported by the Mandos server. + + + + + KEYS + + This program is used to monitor and control the Mandos server. + In particular, it can be used to approve Mandos clients which + have been configured to require approval. It also shows all + significant events reported by the Mandos server. + + + Global Keys + + Keys + Function + + + + q, Q + Quit + + + Ctrl-L + Redraw screen + + + ?, F1 + Show help + + + l, D + Toggle log window + + + TAB + Switch window + + + w, i + Toggle log window line wrap + + + Up, Ctrl-P, k + Move up a line + + + Down, Ctrl-N, j + Move down a line + + + PageUp, Meta-V, b + Move up a page + + + PageDown, Ctrl-V, SPACE, f + Move down a page + +
+ + Client List Keys + + Keys + Function + + + + + + Enable client + + + - + Disable client + + + a + Approve client + + + d + Deny client + + + r, _, Ctrl-K + Remove client + + + s + Start checker for client + + + S + Stop checker for client + + + C + Force a successful check for this client. + +
+
+ + + BUGS + + This program can currently only be used to monitor and control a + Mandos server with the default D-Bus service name of + Mandos. + + + + + EXAMPLE + + + This program takes no options: + + + &COMMANDNAME; + + + + + + SECURITY + + This program must be permitted to access the Mandos server via + the D-Bus interface. This normally requires the root user, but + could be configured otherwise by reconfiguring the D-Bus server. + + + + + SEE ALSO + + mandos + 8, + mandos-ctl + 8 + + + +
+ + + + + === modified file 'mandos.lsm' --- mandos.lsm 2010-09-12 03:22:48 +0000 +++ mandos.lsm 2010-09-14 18:22:03 +0000 @@ -1,7 +1,7 @@ Begin4 Title: Mandos Version: 1.0.14 -Entered-date: 2010-09-12 +Entered-date: 2010-09-14 Description: The Mandos system allows computers to have encrypted root file systems and at the same time be capable of remote and/or unattended reboots.