This commit is contained in:
2026-03-19 15:39:31 +00:00
parent b7987248c1
commit cd7d2fcf61
6 changed files with 169 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ go build -o samba-configer .
The program:
- Reads the Samba config and parses non-`[global]` sections as shares.
- Detects a missing Samba installation when the config file does not exist yet.
- Offers to install the Samba server package with a detected package manager such as `apt`, `dnf`, `yum`, `pacman`, `zypper`, or `apk`.
- Prompts to add, edit, or delete a share.
- Checks `valid users` entries against local accounts.
- Offers to create missing local accounts with `useradd -M -s /usr/sbin/nologin <user>`.