proFTPd — Operation not permitted on line 36 of '/etc/proftpd/proftpd.conf'
sudo chown proftpd /etc/proftpd/ftpd.passwd
sudo chmod o-r /etc/proftpd/ftpd.passwd
sudo service proftpd start
At this stage proFTPd is running but I am unable to log in,
sudo chmod o+r /etc/proftpd/ftpd.passwd
And now I can log in to FTP
However if I change the permission on the ftpd.passwd to sudo chmod o+r /etc/proftpd/ftpd.passwd
before I start the proFTPd , the proFTPd won't start and will give me the error:
mod_auth_file/1.0: unable to use world-readable AuthUserFile '/etc/proftpd/ftpd.passwd': Operation not permitted
Fatal: AuthUserFile: unable to use /etc/proftpd/ftpd.passwd: Operation not permitted on line 36 of '/etc/proftpd/proftpd.conf'
What my suspicion is that proFTPd is not a member of a specific group, if I execute:
groups proftpd
proftpd : nogroup
is the reply.
Any ideas?
proftpd
add a comment |
sudo chown proftpd /etc/proftpd/ftpd.passwd
sudo chmod o-r /etc/proftpd/ftpd.passwd
sudo service proftpd start
At this stage proFTPd is running but I am unable to log in,
sudo chmod o+r /etc/proftpd/ftpd.passwd
And now I can log in to FTP
However if I change the permission on the ftpd.passwd to sudo chmod o+r /etc/proftpd/ftpd.passwd
before I start the proFTPd , the proFTPd won't start and will give me the error:
mod_auth_file/1.0: unable to use world-readable AuthUserFile '/etc/proftpd/ftpd.passwd': Operation not permitted
Fatal: AuthUserFile: unable to use /etc/proftpd/ftpd.passwd: Operation not permitted on line 36 of '/etc/proftpd/proftpd.conf'
What my suspicion is that proFTPd is not a member of a specific group, if I execute:
groups proftpd
proftpd : nogroup
is the reply.
Any ideas?
proftpd
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02
add a comment |
sudo chown proftpd /etc/proftpd/ftpd.passwd
sudo chmod o-r /etc/proftpd/ftpd.passwd
sudo service proftpd start
At this stage proFTPd is running but I am unable to log in,
sudo chmod o+r /etc/proftpd/ftpd.passwd
And now I can log in to FTP
However if I change the permission on the ftpd.passwd to sudo chmod o+r /etc/proftpd/ftpd.passwd
before I start the proFTPd , the proFTPd won't start and will give me the error:
mod_auth_file/1.0: unable to use world-readable AuthUserFile '/etc/proftpd/ftpd.passwd': Operation not permitted
Fatal: AuthUserFile: unable to use /etc/proftpd/ftpd.passwd: Operation not permitted on line 36 of '/etc/proftpd/proftpd.conf'
What my suspicion is that proFTPd is not a member of a specific group, if I execute:
groups proftpd
proftpd : nogroup
is the reply.
Any ideas?
proftpd
sudo chown proftpd /etc/proftpd/ftpd.passwd
sudo chmod o-r /etc/proftpd/ftpd.passwd
sudo service proftpd start
At this stage proFTPd is running but I am unable to log in,
sudo chmod o+r /etc/proftpd/ftpd.passwd
And now I can log in to FTP
However if I change the permission on the ftpd.passwd to sudo chmod o+r /etc/proftpd/ftpd.passwd
before I start the proFTPd , the proFTPd won't start and will give me the error:
mod_auth_file/1.0: unable to use world-readable AuthUserFile '/etc/proftpd/ftpd.passwd': Operation not permitted
Fatal: AuthUserFile: unable to use /etc/proftpd/ftpd.passwd: Operation not permitted on line 36 of '/etc/proftpd/proftpd.conf'
What my suspicion is that proFTPd is not a member of a specific group, if I execute:
groups proftpd
proftpd : nogroup
is the reply.
Any ideas?
proftpd
proftpd
asked Aug 10 '15 at 13:45
elemer82elemer82
4031513
4031513
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02
add a comment |
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02
add a comment |
1 Answer
1
active
oldest
votes
All you have to do is change permissions of password file.
sudo chmod o-rwx /etc/proftpd/ftpd.passwd
sudo service proftpd start
(alternative way: sudo /etc/init.d/proftpd start
)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f659780%2fproftpd-operation-not-permitted-on-line-36-of-etc-proftpd-proftpd-conf%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
All you have to do is change permissions of password file.
sudo chmod o-rwx /etc/proftpd/ftpd.passwd
sudo service proftpd start
(alternative way: sudo /etc/init.d/proftpd start
)
add a comment |
All you have to do is change permissions of password file.
sudo chmod o-rwx /etc/proftpd/ftpd.passwd
sudo service proftpd start
(alternative way: sudo /etc/init.d/proftpd start
)
add a comment |
All you have to do is change permissions of password file.
sudo chmod o-rwx /etc/proftpd/ftpd.passwd
sudo service proftpd start
(alternative way: sudo /etc/init.d/proftpd start
)
All you have to do is change permissions of password file.
sudo chmod o-rwx /etc/proftpd/ftpd.passwd
sudo service proftpd start
(alternative way: sudo /etc/init.d/proftpd start
)
answered Apr 20 '16 at 13:07
James MJames M
131110
131110
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f659780%2fproftpd-operation-not-permitted-on-line-36-of-etc-proftpd-proftpd-conf%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
What are the permissions of the file when the service won't start?
– stevieb
Aug 10 '15 at 15:12
-rw-r--r-- 1 proftpd root Aug 10 13:18 ftpd.passwd ===> proftpd won't start -rw-r----- 1 proftpd root Aug 10 13:18 ftpd.passwd ==> ProFTP starts, but unable to login after ProFTPd started I change the permission again back to -rw-r--r-- and it works/I can log in to FTP
– elemer82
Aug 10 '15 at 16:02