mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue; add /var/lib/ftp as user ftp home-dir. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
28 lines
739 B
Diff
28 lines
739 B
Diff
close RequireValidShell check
|
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
close RequireValidShell check since we like to make /bin/false as shell
|
|
for ftp user
|
|
|
|
Signed-off-by: Roy Li <rongqing.li@windriver.com>
|
|
---
|
|
sample-configurations/basic.conf | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/sample-configurations/basic.conf b/sample-configurations/basic.conf
|
|
index 314eb79..abcb284 100644
|
|
--- a/sample-configurations/basic.conf
|
|
+++ b/sample-configurations/basic.conf
|
|
@@ -53,6 +53,7 @@ AllowOverwrite on
|
|
# We want clients to be able to login with "anonymous" as well as "ftp"
|
|
UserAlias anonymous ftp
|
|
|
|
+ RequireValidShell off
|
|
# Limit the maximum number of anonymous logins
|
|
MaxClients 10
|
|
|
|
--
|
|
1.7.10.4
|
|
|