kg-manage¶
This command is used for managing karaage.
Usage¶
Basic usage:
kg-manage <command> [options]
The following is not a complete list of all commands available. To get a full list of commands, run the following:
kg-manage --help
To get help on a particular command, run the following:
kg-manage <command> --help
Django¶
dbshell¶
shell¶
migrate¶
Karaage Core¶
migrate_ldap¶
-
kg-manage migrate_ldap
¶ Run migrations on LDAP servers.
-
--dry-run
¶
Don’t make any of the changes, display what would be done instead. Note the base dn objects will always be created.
-
--delete
¶
Delete old records that are no longer used.
change_username¶
-
kg-manage change_username
¶ Change the username for a person and related accounts.
changepassword¶
-
kg-manage changepassword
¶ Change the password for a person and related accounts.
import_csv_users¶
-
kg-manage import_csv_users
¶ Import people from a csv file.
kgcreatesuperuser¶
-
kg-manage kgcreatesuperuser
¶ Create a superuser without an account.
lock_expired¶
-
kg-manage lock_expired
¶ Automatically lock expired accounts.
Called automatically by
daily_cleanup
.
lock_training_accounts¶
-
kg-manage lock_training_accounts
¶ Automatically lock training accounts.
unlock_training_accounts¶
-
kg-manage unlock_training_accounts
¶ Automatically lock training accounts.
change_pid¶
-
kg-manage change_pid
¶ Change a PID for a project.
daily_cleanup¶
-
kg-manage daily_cleanup
¶ Daily cleanup for Karaage, should be called by cron job. This will automatically call all other applicable cleanup commands.
The exact commands executed depends on which plugins are configured. By default, will call
lock_expired
.
Karaage Applications Plugin¶
application_cleanup¶
-
kg-manage application_cleanup
¶ Cleanup complete/old applications.
Called automatically by
daily_cleanup
.
Karaage Usage Plugin¶
clear_usage_cache¶
-
kg-manage clear_usage_cache
¶ Delete the usage cache.
Called automatically by
daily_cleanup
.
clear_usage_graphs¶
-
kg-manage clear_usage_graphs
¶ Delete the usagee graphs.
Called automatically by
daily_cleanup
.
link_software¶
-
kg-manage link_software
¶ Automatically link software in usage table.
Called automatically by
daily_cleanup
.