![]() ![]() Of course, until you replace the drive, your NAS will continue to give you warnings, so be prepared to put up with that. For what it’s worth, though, it’s usually good practice to have a hot spare ready to go whenever something like this happens, but it’s not absolutely necessary. You can still remove the failed drive, and then worry about getting a new drive ( RMA a drive that’s still under warranty or buy a new drive if not). I'm not sure this change is picked up auto-magically, so a reboot may be needed to activate the new setting.If you don’t have a spare drive, don’t worry. These should be the same as show above.Ĭhange this using the HEX editor and put the modified file back on the Syno (keep a backup-copy of the original!!!). The YNO and MW could have different values. Load this file in a HEX editor and look for the Desktop section. ![]() This is a SQLite database containing the actual privileges. Next thing is to pull the file /etc/synoappprivilege.db to a computer (carefull, this is a binary. As far as I know that is the only thing needed to get into DSM web-managment.įor the normal web-server access (personalized home-page) user must also be added to the "http" line in the same file. ("plex" is only there if you installed the Plex package.)Īdd your admin account to that line. There should be a line looking like: administrators:x:101:john,admin,plex I did a bit of digging around on my own Syno and came up with this: Also, beware the insert in that link has a small mistake. So we need to insert it ( note: use your user id as obtained before with grep, in my case, 1021): sqlite> insert into AppPrivRule VALUES(0,1021,'SYNO.Desktop','0.0.0.0','0000:0000:0000:0000:0000:FFFF:0000:0000','','') Ĭonfirmation that everything is all right. The priviledge we unintentionally removed was SYNO.Desktop and will probably not be listed in the previous command. Query table (not strictly necessary): sqlite> select * from AppPrivRule It will prompt: SQLite version 3.10.2 15:27:19Ĭheck tables (not strictly necessary): sqlite>. Insert the password of your_username (same password you used for ssh). Make a backup of the database, just in case: cp synoappprivilege.db synoappprivilege.db.org.You are interested in your id, in the example: 1021 grep administrator /etc/passwd)Īdministrator:x:1021:100::/var/services/homes/administrator:/bin/sh (I am using Linux) Execute: ssh cd /etc. ![]() If you don't, you probably need to do a soft reset.
0 Comments
Leave a Reply. |