On 11/21/2013 12:16 PM, Daniel Berteaud wrote: > Not sure if everyone like this, but for my use, I find it useful. When > you use external auth, grant admin privileges regardless of what is in > the DB if the user login is 'admin'. This way, you don't have to > manually alter (or add in advance) the user. With external auth, it's > quite usual to have a super user called admin.
The easiest way to do this is to create a default "admin" entry in the sqlite/mysql script, without password, as it will mark it as an admin by default. I always wondered if I should create a default user though. With the amount of setup that you need to do anyway, I'd rather not encounter the default "oracle" user madness I saw everywhere ;).