]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
base-files: remove ftp user and group 19418/head
authorJohn Audia <therealgraysky@proton.me>
Tue, 15 Jul 2025 09:46:52 +0000 (05:46 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Jan 2026 19:32:53 +0000 (20:32 +0100)
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 <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19418
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/base-files/files/etc/group
package/base-files/files/etc/passwd
package/base-files/files/etc/shadow

index 5b06dc6db96418461484d112c75797bf137c683d..cdcd414abb9dfc34ca57d434590d5d3f8d8472c7 100644 (file)
@@ -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:
index 1d06a803615f4e524bd60f2d72cdb99b54915a99..b4d53fa319fc96186edbf14dd60651049500b9b4 100644 (file)
@@ -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
index 39bdb9c90a3234487ca0b3b7eecf995d08895a05..e28ccbe6f87254b2f6829ba501ea430739e36871 100644 (file)
@@ -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:::