diff options
| author | John Audia | 2025-07-15 09:46:52 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2026-01-24 19:32:53 +0000 |
| commit | ef106791537d4b43d764a05333527c6d7a11dd69 (patch) | |
| tree | fab0912719dcc3499a812d8ae2fcbad9140c2030 | |
| parent | 0b0cd4efe25d9ee73896c8fa3079074dbae2637d (diff) | |
| download | openwrt-ef106791537d4b43d764a05333527c6d7a11dd69.tar.gz | |
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 <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/19418
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | package/base-files/files/etc/group | 1 | ||||
| -rw-r--r-- | package/base-files/files/etc/passwd | 1 | ||||
| -rw-r--r-- | package/base-files/files/etc/shadow | 1 |
3 files changed, 0 insertions, 3 deletions
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::: |