Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit configuration text files as root with NppFTP #339

Open
Leba67 opened this issue Jun 3, 2022 · 1 comment
Open

How to edit configuration text files as root with NppFTP #339

Leba67 opened this issue Jun 3, 2022 · 1 comment

Comments

@Leba67
Copy link

Leba67 commented Jun 3, 2022

Description of the Issue

When trying to edit configurations files in any other directory but home, write permission is denied. How can I log in to my Pi
using NppFTP as root?

@pryrt
Copy link

pryrt commented Nov 14, 2022

Fellow user replying (I have no official "say" with respect to this plugin): as with any FTP client, in order to gain root access to an FTP server, I believe you need to provide root credentials (the root username and root password). Unlike a terminal login like SSH, where you can run sudo or similar to get temporary root permissions from a normal user, FTP/SFTP doesn't have a sudo mechanism (as far as I know)

So my recommendation would be to have two different profiles to access your PI from Notepad++ and NppFTP: the first profile would have your standard username+password to access your normal files, and then a second profile that uses the root username+password to access config files. (or, if you're just editing config files, then don't bother with the "standard" profile, and just have the root-based profile.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants