Clicking the Others category tab will take you to a page of tools that don't really fit anywhere else. This includes a small module that allows you to run any system command from a button, a Java file manager much like Windows Explorer or the Gnome File Manager tool, and a Java based telnet client.
The Custom Commands module provides a simple interface to every single command on your server at the press of a button. Sounds pretty impressive. Unfortunately, you actually have to create those command buttons before you can use them. The simplest way to document it is to create an example custom command and show it work.
As you can see in the figure above, I've created a command called Pinger which runs ping three times in succession for each of three computers on my network. The -c 5 sets ping to ping the host 5 times and then exit. The output of this command looks like the figure below.
It is also possible to accept options for your commands by choosing a type of input and naming it in the Command Parameters section of the Create Command page. So to make the above example more flexible, lets change it so that any host may be pinged by the user of the command.
In the above example, I've added a variable $host to the command. I've still chosen to force -c 5 to be included in the command, though it could also be made into a variable option. Now, the user can choose to enter any hostname they wish to ping in the text entry field provided. The way this feature works is that a variable name is assigned to each entry field you create in the Command Parameters section. You can then insert those variables contents into the command that is executed.
![]() | Beware that there have been security issues with allowing user entered data on custom commands in the past. All known exploits have been fixed, but it is still probably a wise idea to carefully consider security implications before giving a normally untrusted user access to commands that allow arbitrary text entry. |