Subsonic creates a script file automatically....that stores all user information in it (includsed an encrypted password). it can be found where the database is labeled: subsonic.script
If you uninstall subsonic, delete all files except that (keep it in the db folder) and reinstall subsonic it will add it all back to the database.
You can also modify user part of the script, it looks a lot like this:
- Code: Select all
INSERT INTO USER VALUES('admin','enc:44756e632346132',844363647,0,0,FALSE,NULL)
INSERT INTO USER_ROLE VALUES('admin',1)
INSERT INTO USER_ROLE VALUES('admin',2)
INSERT INTO USER_ROLE VALUES('admin',3)
INSERT INTO USER_ROLE VALUES('admin',4)
INSERT INTO USER_ROLE VALUES('admin',5)
INSERT INTO USER_ROLE VALUES('admin',6)
INSERT INTO USER_ROLE VALUES('admin',7)
INSERT INTO USER_ROLE VALUES('admin',8)
INSERT INTO USER_ROLE VALUES('admin',9)
INSERT INTO USER_ROLE VALUES('admin',10)
INSERT INTO USER_ROLE VALUES('admin',11)
INSERT INTO USER_SETTINGS VALUES('admin',NULL,NULL,TRUE,FALSE,35,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,FALSE,35,FALSE,TRUE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,NULL,NULL,'OFF',TRUE,-1,FALSE,TRUE,FALSE,'NONE',NULL,'2013-12-28 01:02:48.983000000',TRUE)