Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # update staffs to superusers for t6dev
- sql="update auth_user set is_superuser=true where is_staff=true and is_superuser=false and (email not like '%@theassociaton.com' and email not like '%@theassociation.com');"
- sudo -u postgres psql -d tendenci_site -c "$sql"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement