Login

Need help? Post your questions here.

Moderator: moderators

Login

Postby slipknotkid014 » Thu Dec 06, 2012 4:05 pm

Hello I Have Setup The Server And Am Visible but no Matter What I Do The Password And Username Isn't Recognized. I have forwarded correctly and have tried changing my password but alas no luck. Any Suggestions? :?
slipknotkid014
 
Posts: 2
Joined: Thu Dec 06, 2012 3:59 pm

Re: Login

Postby BKKKPewsey » Thu Dec 06, 2012 5:24 pm

Have you used the default username /password of admin - admin ?

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Login

Postby GJ51 » Thu Dec 06, 2012 5:39 pm

slipknotkid014 wrote:Hello I Have Setup The Server And Am Visible but no Matter What I Do The Password And Username Isn't Recognized. I have forwarded correctly and have tried changing my password but alas no luck. Any Suggestions? :?


How did you try changing your password if you couldn't log in?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Login

Postby slipknotkid014 » Sun Dec 09, 2012 3:02 pm

I have changed my password and admin admin is no longer a user
slipknotkid014
 
Posts: 2
Joined: Thu Dec 06, 2012 3:59 pm

Re: Login

Postby GJ51 » Sun Dec 09, 2012 6:20 pm

Subsonic Password Reset

The Subsonic music streaming server currently has not built-in way to recover or reset a lost password. If you locked yourself out, don’t give up just yet. The password reset method described in this article has been tested successfully with Subsonic 4.1 and 4.2.


Solution
Subsonic stores user passwords in encrypted form in the program database, probably using salted BCrypt hashes, although the exact implementation has not been investigated in the context of this article. It is not technically feasible to decrypt these hashes and retrieve the original password strings.

However, current versions of Subsonic export the program settings to a text file each time the server is shut down, and they reimport this text file when it is started back up. This text file also includes the encrypted password hashes, and they can easily be replaced by substituting the corresponding line as follows:

Open the Subsonic control panel and stop the service
Open a Windows Explorer and navigate to C:\subsonic\db
(on Linux this may be under /var/subsonic/db or /usr/bin/subsonic/db)
Open the file subsonic.script in a text editor


http://blog.gerke-preussner.de/2010/12/ ... -streamer/
Near the top of the file, find the following line: INSERT INTO USER VALUES('admin','enc:xxxxxxxxxx',0,0,0,FALSE)
Note that the xxxxxxxxxx value is a hexadecimal string that represents the encrypted hash of the user’s current password.

Replace the line above with the following: INSERT INTO USER VALUES('admin','enc:61646d696e',0,0,0,FALSE)
Note that the value 61646d696e is the hash for the password "admin"

Save the file
Restart the service in the Subsonic control panel.
It is now possible to log on with user name and password admin, which are also the default administrator credentials. Don’t forget to change the password to something else on the Settings screen right after logging on. Obviously, this technique works with any other user account as well.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Login

Postby hakko » Sun Dec 09, 2012 6:37 pm

I'd just like to point out that the above information that GJ51 quoted is wrong (even though it's still very relevant for this topic). Passwords are not encrypted. You can take the password "61646d696e", paste it on a site like this: http://www.string-functions.com/hex-string.aspx, to find out that it means "admin".
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Login

Postby GJ51 » Sun Dec 09, 2012 6:53 pm

Or he could just reinstall Subsonic and start over. :wink:
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York


Return to Help

Who is online

Users browsing this forum: No registered users and 45 guests