Jail only a specific user with vsftpdvsftpd: Passwordless authentication to different directoryVSFTPD Virtual...
Are these reasonable traits for someone with autism?
Plot twist where the antagonist wins
Need to understand my home electrical meter to see why bill is so high and/or if neighbor is on same meter
Website returning plaintext password
Where's this lookout in Nova Scotia?
Looking for a soft substance that doesn't dissolve underwater
A steel cutting sword?
Would Jetfuel for a modern jet like an F-16 or a F-35 be producable in the WW2 era?
Construct a word ladder
Is DateWithin30Days(Date 1, Date 2) an Apex Method?
Can a person survive on blood in place of water?
Which melee weapons have the Two-Handed property, but lack Heavy and Special?
Gladys goes shopping
How to deal with a colleague who is being aggressive?
I unknowingly submitted plagarised work
Sitecore 9.0 works with solr 7.2.1?
Boss wants me to falsify a report. How should I document this unethical demand?
Count rotary dial pulses in a phone number (including letters)
Should I disclose a colleague's illness (that I should not know) when others badmouth him
Plot and know intersection points of multiple lines/functions
what kind of chord progession is this?
Using credit/debit card details vs swiping a card in a payment (credit card) terminal
Where have Brexit voters gone?
Is the Indo-European language family made up?
Jail only a specific user with vsftpd
vsftpd: Passwordless authentication to different directoryVSFTPD Virtual User GroupShare a directory over FTP with chroot_local enabledvsftpd - ftp user cannot create foldersvsftpd limit users to /home/user/minecraftDisable operations outside user's home directory with chroot jail?How to come out of Sub-dir & enter Home Dir in Chrooted VSFTPD?FTP Permissions in Linux (vsftpd)FTP: Jail user to Home folderRun 2 instances of vsftpd and in the second instance have users accessing to their own home folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm using both Redhat and CentOS. When I do followings:
# vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
# service vsftpd restart
Then all users are jailed in their home directory.
How can I jail a specific user only?
vsftpd account-restrictions jails
add a comment |
I'm using both Redhat and CentOS. When I do followings:
# vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
# service vsftpd restart
Then all users are jailed in their home directory.
How can I jail a specific user only?
vsftpd account-restrictions jails
add a comment |
I'm using both Redhat and CentOS. When I do followings:
# vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
# service vsftpd restart
Then all users are jailed in their home directory.
How can I jail a specific user only?
vsftpd account-restrictions jails
I'm using both Redhat and CentOS. When I do followings:
# vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
# service vsftpd restart
Then all users are jailed in their home directory.
How can I jail a specific user only?
vsftpd account-restrictions jails
vsftpd account-restrictions jails
edited Sep 13 '13 at 22:42
Gilles
555k13411401649
555k13411401649
asked Sep 13 '13 at 3:56
夏期劇場夏期劇場
66381533
66381533
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have 2 options:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/nonchroot.list
Where file /etc/vsftpd/nonchroot.list should contail the users you don’t want to chroot.
OR
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
Where the file /etc/vsftpd/chroot.list should contain the users you want to be chrooted to their home. By default all other users should have access to the / (root).
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f90472%2fjail-only-a-specific-user-with-vsftpd%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
You have 2 options:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/nonchroot.list
Where file /etc/vsftpd/nonchroot.list should contail the users you don’t want to chroot.
OR
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
Where the file /etc/vsftpd/chroot.list should contain the users you want to be chrooted to their home. By default all other users should have access to the / (root).
add a comment |
You have 2 options:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/nonchroot.list
Where file /etc/vsftpd/nonchroot.list should contail the users you don’t want to chroot.
OR
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
Where the file /etc/vsftpd/chroot.list should contain the users you want to be chrooted to their home. By default all other users should have access to the / (root).
add a comment |
You have 2 options:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/nonchroot.list
Where file /etc/vsftpd/nonchroot.list should contail the users you don’t want to chroot.
OR
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
Where the file /etc/vsftpd/chroot.list should contain the users you want to be chrooted to their home. By default all other users should have access to the / (root).
You have 2 options:
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/nonchroot.list
Where file /etc/vsftpd/nonchroot.list should contail the users you don’t want to chroot.
OR
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot.list
Where the file /etc/vsftpd/chroot.list should contain the users you want to be chrooted to their home. By default all other users should have access to the / (root).
answered Sep 13 '13 at 4:30
bhavicpbhavicp
412
412
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f90472%2fjail-only-a-specific-user-with-vsftpd%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