cigraphics / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Cannot authenticate to system root #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have my home server running Linux. Sometimes I need to configure my nginx 
settings, and that can be a little more convenient using a GUI editor instead 
of shell editor such as emacs. So I mount my server root path using win-sshfs, 
however I am unable to edit any of the system files including nginx config 
files since they are read-only. In a shell, I can always do sudo, so having an 
alternative here would be very nice. Not sure how possible or easy this is to 
implement.

What steps will reproduce the problem?
1. Mount a root-level directory using win-sshfs
2. Try to edit any of the system files (anywhere except the user folder - 
/home/<user>/)

What is the expected output? What do you see instead?
I expect to be able to authenticate as a root user in order to edit the files 
however the files are read-only.

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: Win 7 Ultimate 64bit
Server OS: Ubuntu 12.04
Ssh server: OpenSSL 1.0.1

Original issue reported on code.google.com by miki...@gmail.com on 18 Aug 2012 at 10:38

GoogleCodeExporter commented 8 years ago
Sudo is shell specific so not part of sftp protocol. You could try to set 
EnableRootLogin in your server confing. There's nothing I can do, sorry.

Original comment by mladenov...@gmail.com on 19 Aug 2012 at 8:25

GoogleCodeExporter commented 8 years ago
Thanx anyway.

Original comment by miki...@gmail.com on 19 Aug 2012 at 2:25

GoogleCodeExporter commented 8 years ago

Original comment by mladenov...@gmail.com on 7 Oct 2012 at 7:06