Proftpd: total disable user login
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
A simple question,with this configuration I allow anon ftp users.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
User ftp
Group ftp
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
PassivePorts 49152 65535
UseFtpUsers off
<Directory /*>
AllowOverwrite on
</Directory>
<Limit LOGIN>
AllowUser ftp
AllowUser anonymous
DenyAll
</Limit>
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
</Anonymous>
But using
ftp localhost 21
It ask for password
My question is: how to disable totally the user login to allow only anonymous?
I want an answer like this
"sorry ftp server is only anonymous"
proftpd
add a comment |Â
up vote
0
down vote
favorite
A simple question,with this configuration I allow anon ftp users.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
User ftp
Group ftp
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
PassivePorts 49152 65535
UseFtpUsers off
<Directory /*>
AllowOverwrite on
</Directory>
<Limit LOGIN>
AllowUser ftp
AllowUser anonymous
DenyAll
</Limit>
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
</Anonymous>
But using
ftp localhost 21
It ask for password
My question is: how to disable totally the user login to allow only anonymous?
I want an answer like this
"sorry ftp server is only anonymous"
proftpd
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
A simple question,with this configuration I allow anon ftp users.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
User ftp
Group ftp
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
PassivePorts 49152 65535
UseFtpUsers off
<Directory /*>
AllowOverwrite on
</Directory>
<Limit LOGIN>
AllowUser ftp
AllowUser anonymous
DenyAll
</Limit>
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
</Anonymous>
But using
ftp localhost 21
It ask for password
My question is: how to disable totally the user login to allow only anonymous?
I want an answer like this
"sorry ftp server is only anonymous"
proftpd
A simple question,with this configuration I allow anon ftp users.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
Port 2121
Umask 022
MaxInstances 30
User ftp
Group ftp
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
PassivePorts 49152 65535
UseFtpUsers off
<Directory /*>
AllowOverwrite on
</Directory>
<Limit LOGIN>
AllowUser ftp
AllowUser anonymous
DenyAll
</Limit>
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
</Anonymous>
But using
ftp localhost 21
It ask for password
My question is: how to disable totally the user login to allow only anonymous?
I want an answer like this
"sorry ftp server is only anonymous"
proftpd
proftpd
asked 4 mins ago
elbarna
3,88293677
3,88293677
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475684%2fproftpd-total-disable-user-login%23new-answer', 'question_page');
);
Post as a guest
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
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
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