add auditor account when creating piler database

This commit is contained in:
SJ 2013-08-16 09:37:20 +02:00
parent e8e88bcf7a
commit 4919e69e85

View File

@ -191,6 +191,7 @@ create table if not exists `user` (
) Engine=InnoDB; ) 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 (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` ( create table if not exists `email` (
`uid` int unsigned not null, `uid` int unsigned not null,
@ -198,6 +199,7 @@ create table if not exists `email` (
) ENGINE=InnoDB; ) ENGINE=InnoDB;
insert into `email` (`uid`, `email`) values(0, 'admin@local'); 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` ( create table if not exists `email_groups` (