Child pages
  • Change user's theme via console
Skip to end of metadata
Go to start of metadata

Enter noc dbshell:

noc:~ # cd /opt/noc/
noc:/opt/noc # ./noc dbshell
psql (9.1.9)
Type "help" for help.

Check user id:

noc=# select id from auth_user where username='<username>';

Check user's theme (optional):

noc=# select theme from main_userprofile where user_id=<id>;

Set user's theme to gray:

noc=# update main_userprofile set theme='gray' where user_id=<id>;
  • No labels