sandbox_login: set default DB as /var/tmp/sandbox_db
write USER to config file, use for setting permissions