Jump to content
XPEnology Community
  • 0

Idiots guide to enabling root on 6.2


elmuziko

Question

Yo,

 

has anyone got an idiots guide to enabling root on 6.2?
I use winSCP to transfer files but can't do it any more since directories are locked down.

 

i found a guide on YouTube


however on my etc/ssh/sshd_config, PermitRootLogin is set to prohibit-password.
Making the changes in the questions just makes the ssh service stop and won't come back up.

Thanks

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I'd still take a permanent fix to this any day of the week but getting around it for the time being using those steps albeit from the Synology site, to chmod wherever it is I'm going to, using winSCP as a standard user, then chmod back to what it was previously.

It's not clean, nor is it straight forward, but it is a work around. Again, if someone has a more permanent fix I'd take it any day of the week.

Thanks

Link to comment
Share on other sites

  • 0

Mod DSM to enable Root access:
1) Login on the putty as admin

2) command  to go to root
sudo -i
3) command to insert root password

synouser -setpw root insert-your-new-root-password
4) command for edit sshd_config

vi /etc/ssh/sshd_config

5) find text

#PermitRootLogin prohibit-password

6) replace into

PermitRootLogin yes

UsePrivilegeSeparation sandbox

7) save#quit

😎 reboot nas

Edited by blackburn
  • Thanks 2
Link to comment
Share on other sites

  • 0

Maybe I'm an idiot but I followed the guide here and can't get root to work in WinSCP.

Logging in as admin using Putty I get as far as

5) find text

#PermitRootLogin prohibit-password

but in sshd_config I see no lines like the above text to edit.

Im running 6.2.3.-25426 on DS3617xs and need root to enable SHR plus fix no hibernation and no WOl problems.

Any help appreciated I am a linux novice.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...