Just tried this.. and with out the "m"keith123 wrote:Figured out how to get into winscp as root
SSH as admin (you should never have a problem here if you do set password for admin in the Control Panel > Users in DSM)
This will prompt you for a password use your admin password
Now you'll be SSH in as Root
Type this, it will set the password of your choosing to the root account.
synouser --setpw root [PASSWORD]m
Login with root using Winscp!
is that a typo?
As it didn't stick for me..
synouser --setpw root [PASSWORD]
Seemed to work... I logged in ok..
but went to edit a file as i could before DSM6 update..
Open in to editor..make a change... i.e config.php
But getting this error when saving
"scp: /volume2/@appstore/Moodle/moodle/config.php: Permission denied"
of course permission are looking like this at the moment on that file RW-R--R--
While I can get Root within a Terminal window using Putty, or Bitvise SSH Client.. this does open up editing possibilities using VI.
I suppose the question is...
Do I use go in and change these permissions on the files I want to edit all the time?
How does this affect the operation of these files?
i.e what other problems is it going to course if they sit on the system with rwxr-xr-x?
Also.. within WinScp these commands are useless now?
"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."