/Connected to 210.42.107.58 (210.42.107.5.
/220 ProFTPD 1.2.7 Server (Test FTP Website) [test]
/Name (210.42.107.58:root): anonymous
/331 Anonymous login ok, send your complete email
/address as your password.
/password:
/530-Unable to set anonymous privileges.
/530 Login incorrect.
/Remote system type is UNIX.
/Using binary mode to transfer files.
redhat8
已经将proftpd.conf中的nogroup改成nobody
加RequireValidShell off
可效果好像跟没有加一样。。
proftpd -d9 -n 结果如下:
- parsing '/usr/local/etc/proftpd.conf' configuration
- dispatching auth request "getpwnam" to module mod_unixpw
- dispatching auth request "endpwent" to module mod_unixpw
- dispatching auth request "getgrnam" to module mod_unixpw
- dispatching auth request "endgrent" to module mod_unixpw
Test -
Test - Config for Test FTP Website:
Test - ~ftp/
Test - Limit
Test - DenyAll
Test - UserName
Test - GroupName
Test - UserAlias
Test - MaxClients
Test - DisplayLogin
Test - DisplayFirstChdir
Test - RequireValidShell
Test - Umask
Test - /
Test - AllowOverwrite
Test - RequireValidShell
Test - Umask
Test - DefaultServer
Test - RequireValidShell
Test - Umask
Test - UserID
Test - UserName
Test - GroupID
Test - GroupName
Test - dispatching auth request "getgroups" to module mod_unixpw
Test - SETUP PRIVS at main.c:3094
Test - ROOT PRIVS at main.c:2243
Test - RELINQUISH PRIVS at main.c:2249
Test - ROOT PRIVS at main.c:2656
Test - RELINQUISH PRIVS at main.c:2680
Test - ROOT PRIVS at inet.c:502
Test - RELINQUISH PRIVS at inet.c:541
Test - Failed binding to 0.0.0.0, port 21: Address already in use
Test - Check the ServerType directive to ensure you are configured correctly.