From 4919e69e85e15953476fcca30038df5041080c7f Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 16 Aug 2013 09:37:20 +0200 Subject: [PATCH] add auditor account when creating piler database --- util/db-mysql.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/db-mysql.sql b/util/db-mysql.sql index fa34e9cd..8a60ba95 100644 --- a/util/db-mysql.sql +++ b/util/db-mysql.sql @@ -191,6 +191,7 @@ create table if not exists `user` ( ) Engine=InnoDB; insert into `user` (`uid`, `username`, `realname`, `samaccountname`, `password`, `isadmin`, `domain`) values (0, 'admin', 'built-in piler admin', '', '$1$PItc7d$zsUgON3JRrbdGS11t9JQW1', 1, 'local'); +insert into `user` (`uid`, `username`, `realname`, `samaccountname`, `password`, `isadmin`, `domain`) values (1, 'auditor', 'built-in piler auditor', '', '$1$SLIIIS$JMBwGqQg4lIir2P2YU1y.0', 2, 'local'); create table if not exists `email` ( `uid` int unsigned not null, @@ -198,6 +199,7 @@ create table if not exists `email` ( ) ENGINE=InnoDB; insert into `email` (`uid`, `email`) values(0, 'admin@local'); +insert into `email` (`uid`, `email`) values(1, 'auditor@local'); create table if not exists `email_groups` (