diff options
| -rw-r--r-- | install.sh | 1 | ||||
| -rw-r--r-- | setup/pbs-newdata.sql | 1 | ||||
| -rw-r--r-- | setup/pbs.sql | 7 |
3 files changed, 8 insertions, 1 deletions
@@ -50,3 +50,4 @@ mysql -u $databaseuser -p$databasepassword < /var/www/pbs2/setup/pbs.sql echo "woho - pbs2 is ready to use" echo "You can reach your installed pbs2 server under http://$domain/" +echo "Login with username: 'test' and pasword 'test' and change the Passwort and eMail IMMEDIATELY!!!" diff --git a/setup/pbs-newdata.sql b/setup/pbs-newdata.sql index 2778d87..3745a7d 100644 --- a/setup/pbs-newdata.sql +++ b/setup/pbs-newdata.sql @@ -31,7 +31,6 @@ INSERT INTO `pbs`.`pbs_groupgroups` (`parentID`, `groupID`) VALUES (6, 8); -- Adding memberships -INSERT INTO `pbs`.`pbs_membership` (`membershipID`, `groupID`, `roleID`, `personID`, `apikey`) VALUES (NULL, '1', '1', '1', 'apikey1'); INSERT INTO `pbs`.`pbs_membership` (`membershipID`, `groupID`, `roleID`, `personID`, `apikey`) VALUES (NULL, '2', '1', '1', 'apikey2'); INSERT INTO `pbs`.`pbs_membership` (`membershipID`, `groupID`, `roleID`, `personID`, `apikey`) VALUES (NULL, '3', '1', '1', 'apikey3'); INSERT INTO `pbs`.`pbs_membership` (`membershipID`, `groupID`, `roleID`, `personID`, `apikey`) VALUES (NULL, '4', '1', '1', 'apikey4'); diff --git a/setup/pbs.sql b/setup/pbs.sql index e50f637..ef818aa 100644 --- a/setup/pbs.sql +++ b/setup/pbs.sql @@ -648,3 +648,10 @@ INSERT INTO `pbs`.`pbs_role` (`roleID`, `groupID`, `title`, `description`, `inhe (6, 1, 'User', 'The default user', 1); INSERT INTO `pbs`.`pbs_rightroles` (`roleID`, `rightID`) VALUES (6, 2),(6, 3),(6, 4),(6, 16),(6, 19),(6, 33),(6, 37),(6, 46),(6, 50),(6, 51),(6, 52),(6, 57),(6, 63),(6, 70),(6, 71),(6, 72); + +-- Adding a Person for SuperAdmin +INSERT INTO `pbs_person` (`personID`, `title`, `name`, `firstname`, `street`, `housenumber`, `city`, `postalcode`, `logindate`, `registerdate`, `email`, `login`, `password`, `password_salt`) VALUES +(1, 'Herr', 'Super', 'Admin', 'Street', '1337', 'Teshouse', '1337', NULL, '1299612370', 'test', NULL, '4207acba08cadccc397e2302a55b339a', 'f21ee663b17bcefc6868694dffda602a'); + +-- Get him a Membership in MainGroup for activate Requests +INSERT INTO `pbs`.`pbs_membership` (`membershipID`, `groupID`, `roleID`, `personID`, `apikey`) VALUES (NULL, '1', '1', '1', 'apikey1'); |
