[PC-BSD Commits] r16093 - pcbsd/current/src-qt4/warden/src

svn at pcbsd.org svn at pcbsd.org
Thu Mar 29 12:44:22 PDT 2012


Author: kris
Date: 2012-03-29 19:44:22 +0000 (Thu, 29 Mar 2012)
New Revision: 16093

Modified:
   pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
Log:

Enable user GUI tool button for warden jails



Modified: pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
===================================================================
--- pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-29 19:41:31 UTC (rev 16092)
+++ pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-29 19:44:22 UTC (rev 16093)
@@ -1006,7 +1006,11 @@
 
 void dialogWarden::slotUserAdmin()
 {
-
+   if ( ! listJails->currentItem() )
+     return;
+   QString cmd = "pc-usermanager -warden /usr/jails/" + listJails->currentItem()->text(0) + " " + listJails->currentItem()->text(0) + " &"; 
+   system(cmd.toLatin1());
+   
 }
 
 void dialogWarden::slotTerminal()



More information about the Commits mailing list