SController macros allow you to execute a number of UNIX shell commands from the user interface that would usually require shell access on the system. These commands are provided in a list in the Commands page in the SC Admin area. Simply choose a command from the list, enter the parameters for that command, and press Enter. SCInterface will return the output of that command, formatted just as it would be if you were working directly within the shell.
Users must have Admin privileges on an SC to execute commands on that SC.
SC commands currently supported include:
- directory listings
- setting permissions on directories
- creating symbolic links
- adding users and setting/resetting their password
- recursively setting owners, groups, and permissions for specified files and directories
- adding sudoers entries
- setting, getting, and validating shells for a specified user
- restarting the SC
- automatically updating the SC to the newest version
- generate listings of the filesystem and network interfaces
- hard disk, memory, and processor utilization
- ... and more!
To execute an SC command:
- Click the Config link for a particular SC.
- Click the Commands tab. You must have Admin privileges on the SC.
- From the dropdown list of commands, choose a command to execute. If applicable, enter parameters into the provided fields.
- Click the "Execute" button. The results of your command will be shown in the same format you would see if you were working directly from the shell or console window.