Topic "Using internal editor for root permisioned files"

Author Message
[View user's profile]

Joined: 2010-09-02
Posts: 7
I have asked a question about saving edited files that need sudo password when we use internal editor (

It seems that current version does not support that. So I thought it may be a good idea to request such feature.

As you know, I can open the file (for example .bashrc) with the internal editor and after edit, save it directly.

But what about if I want to edit /etc/apt/sources.list or other text files that need root password?

Please consider that for next releases.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Please read FAQ:
Martin Prikryl
[View user's profile]

Joined: 2010-09-02
Posts: 7
I am confused. I use SFTP to connect to my remote host. I set the SFTP sever to /usr/lib/openssh/sftp-server

What is the next step?

after that I logged in to the remote host. Still I can not view the root folder (/root) or edit /etc/apt/sources.list

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License