From: John Audia Date: Tue, 15 Jul 2025 09:46:52 +0000 (-0400) Subject: base-files: remove ftp user and group X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ef106791537d4b43d764a05333527c6d7a11dd69;p=openwrt%2Fstaging%2Fxback.git base-files: remove ftp user and group Any ftpd package such as vsftpd or atftpd (are there others?) should create their own unprivileged user. Both of the aforementioned packages do not even use this ftp user and run as root. That should be addressed in separate commits. Signed-off-by: John Audia Link: https://github.com/openwrt/openwrt/pull/19418 Signed-off-by: Hauke Mehrtens --- diff --git a/package/base-files/files/etc/group b/package/base-files/files/etc/group index 5b06dc6db9..cdcd414abb 100644 --- a/package/base-files/files/etc/group +++ b/package/base-files/files/etc/group @@ -5,7 +5,6 @@ mail:x:8: dialout:x:20: audio:x:29: www-data:x:33: -ftp:x:55: users:x:100: network:x:101: nogroup:x:65534: diff --git a/package/base-files/files/etc/passwd b/package/base-files/files/etc/passwd index 1d06a80361..b4d53fa319 100644 --- a/package/base-files/files/etc/passwd +++ b/package/base-files/files/etc/passwd @@ -1,5 +1,4 @@ root:x:0:0:root:/root:/bin/ash daemon:*:1:1:daemon:/var:/bin/false -ftp:*:55:55:ftp:/home/ftp:/bin/false network:*:101:101:network:/var:/bin/false nobody:*:65534:65534:nobody:/var:/bin/false diff --git a/package/base-files/files/etc/shadow b/package/base-files/files/etc/shadow index 39bdb9c90a..e28ccbe6f8 100644 --- a/package/base-files/files/etc/shadow +++ b/package/base-files/files/etc/shadow @@ -1,5 +1,4 @@ root:::0:99999:7::: daemon:*:0:0:99999:7::: -ftp:*:0:0:99999:7::: network:*:0:0:99999:7::: nobody:*:0:0:99999:7:::