This chapter describes important commands and scripts for managing SLMS administration tasks.
IMPORTANT: root privileges
Unlike the Web user interface application, command line scripts do not respect user roles (see Section 6.2.1, User Roles). SLMS commands can be run either by the user root or slms. You may find the slms user useful if you do not want to log in as root over the network. In that case you need to modify /etc/passwd and add a valid shell to slms. Then change its password to be able to access the account.
There are several types of SLMS commands:
The slms command and its subcommands are used for managing appliance, update repositories, and customer accounts. For more information, see Section 8.1, slms commands.
The rcslms command is used for starting, stopping, and restarting the SLMS service, and for checking its status. For more information, see Section 8.4, rcslms.
The slms-admin-ui-user command is used to create the initial and subsequent administrator accounts for the SLMS Web-based application. For more information, see Section 8.2, slms-admin-ui-user.
The migrate_postgresql_database script helps with PostgreSQL database upgrade from version 8 to 9. For more information, see Section 8.3, migrate_postgresql_database.