public void runCommand(string cmd)
 {
     if (IsAdmin)
     {
         executer.runCommand(cmd);
     }
     else
     {
         if (cmd.Trim().StartsWith("rm"))
         {
             throw new Exception("rm command is not allowed for non admin users");
         }
         else
         {
             executer.runCommand(cmd);
         }
     }
 }