User with global privileges on VSFTPD / Ubuntu
I'm running VSFTPD on Ubuntu 18.04 in a VPS server.
I added a user to www-data group Set user home directory for /var/www
I'd like to login with this user on ftp/sftp and that's mainly for notepad++ so I could edit any content under /var/www including virtual hosts files...
I can't login with nppFTP plugin in notepad++ and neither on Filezilla!
Only when I was editing vsftpd.conf with terminal I managed to login through notepad++ but it only showed me /var/www folder' content.
I would be thankful for any tips or a functional vsftpd.conf allowing superadmin full access via ftp/sftp
P. S: I already enabled common ports in ufw. And been able to verify accessibility for this user in ftp terminal.
ubuntu ftp sftp vsftpd
add a comment |
I'm running VSFTPD on Ubuntu 18.04 in a VPS server.
I added a user to www-data group Set user home directory for /var/www
I'd like to login with this user on ftp/sftp and that's mainly for notepad++ so I could edit any content under /var/www including virtual hosts files...
I can't login with nppFTP plugin in notepad++ and neither on Filezilla!
Only when I was editing vsftpd.conf with terminal I managed to login through notepad++ but it only showed me /var/www folder' content.
I would be thankful for any tips or a functional vsftpd.conf allowing superadmin full access via ftp/sftp
P. S: I already enabled common ports in ufw. And been able to verify accessibility for this user in ftp terminal.
ubuntu ftp sftp vsftpd
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22
add a comment |
I'm running VSFTPD on Ubuntu 18.04 in a VPS server.
I added a user to www-data group Set user home directory for /var/www
I'd like to login with this user on ftp/sftp and that's mainly for notepad++ so I could edit any content under /var/www including virtual hosts files...
I can't login with nppFTP plugin in notepad++ and neither on Filezilla!
Only when I was editing vsftpd.conf with terminal I managed to login through notepad++ but it only showed me /var/www folder' content.
I would be thankful for any tips or a functional vsftpd.conf allowing superadmin full access via ftp/sftp
P. S: I already enabled common ports in ufw. And been able to verify accessibility for this user in ftp terminal.
ubuntu ftp sftp vsftpd
I'm running VSFTPD on Ubuntu 18.04 in a VPS server.
I added a user to www-data group Set user home directory for /var/www
I'd like to login with this user on ftp/sftp and that's mainly for notepad++ so I could edit any content under /var/www including virtual hosts files...
I can't login with nppFTP plugin in notepad++ and neither on Filezilla!
Only when I was editing vsftpd.conf with terminal I managed to login through notepad++ but it only showed me /var/www folder' content.
I would be thankful for any tips or a functional vsftpd.conf allowing superadmin full access via ftp/sftp
P. S: I already enabled common ports in ufw. And been able to verify accessibility for this user in ftp terminal.
ubuntu ftp sftp vsftpd
ubuntu ftp sftp vsftpd
edited Dec 17 at 15:25
asked Dec 17 at 13:36
Bilel
11
11
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22
add a comment |
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22
add a comment |
1 Answer
1
active
oldest
votes
It was relied to connection mode and encoding!
I had to set Active Mode in Transfers settings and force utf-8 encoding
The mess was on client side. Hope it could be helpful to someone
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1385257%2fuser-with-global-privileges-on-vsftpd-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It was relied to connection mode and encoding!
I had to set Active Mode in Transfers settings and force utf-8 encoding
The mess was on client side. Hope it could be helpful to someone
add a comment |
It was relied to connection mode and encoding!
I had to set Active Mode in Transfers settings and force utf-8 encoding
The mess was on client side. Hope it could be helpful to someone
add a comment |
It was relied to connection mode and encoding!
I had to set Active Mode in Transfers settings and force utf-8 encoding
The mess was on client side. Hope it could be helpful to someone
It was relied to connection mode and encoding!
I had to set Active Mode in Transfers settings and force utf-8 encoding
The mess was on client side. Hope it could be helpful to someone
answered Dec 27 at 19:12
Bilel
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1385257%2fuser-with-global-privileges-on-vsftpd-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
(1) What do you mean by "I'd like to login with this user on ftp/sftp and that's mainly for notepad++" and "I managed to login through notepad++"? (2) What do you mean by "it only showed me /var/www folder content" and "full access with read/write permissions on all /var/www content"? … … Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 17 at 14:22