Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] proftpd: Add ftp user creation
@ 2015-10-04 13:31 Maxime Hadjinlian
  2015-10-04 13:31 ` [Buildroot] [PATCH 2/3] vsftpd: " Maxime Hadjinlian
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Maxime Hadjinlian @ 2015-10-04 13:31 UTC (permalink / raw)
  To: buildroot

In order to remove '/home/ftp' and the ftp user from the 'skeleton'
package, we need to add the creation of the ftp users to the package so
it still work out of the box (with an anonymous user).

Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/proftpd/proftpd.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index dec243d..d040b8c 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -51,6 +51,10 @@ define PROFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf
 endef
 
+define PROFTPD_USERS
+	ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User
+endef
+
 define PROFTPD_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd
 endef
-- 
2.5.3

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-10-10 17:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04 13:31 [Buildroot] [PATCH 1/3] proftpd: Add ftp user creation Maxime Hadjinlian
2015-10-04 13:31 ` [Buildroot] [PATCH 2/3] vsftpd: " Maxime Hadjinlian
2015-10-04 13:53   ` Vincent Olivert Riera
2015-10-04 14:44   ` Thomas Petazzoni
2015-10-04 15:08     ` Yann E. MORIN
2015-10-04 18:14       ` Maxime Hadjinlian
2015-10-10 17:38   ` Thomas Petazzoni
2015-10-04 13:31 ` [Buildroot] [PATCH 3/3] skeleton: Remove ftp user and /home/ftp Maxime Hadjinlian
2015-10-04 13:54   ` Vincent Olivert Riera
2015-10-10 17:38   ` Thomas Petazzoni
2015-10-04 13:53 ` [Buildroot] [PATCH 1/3] proftpd: Add ftp user creation Vincent Olivert Riera
2015-10-10 17:36 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox