create dir

This commit is contained in:
2026-03-19 16:19:36 +00:00
parent 6fbe5389c2
commit e6bb25d8fa
3 changed files with 86 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ The program:
- Offers to create missing local accounts with `useradd -M -s /usr/sbin/nologin <user>`.
- If user creation fails because admin rights are needed, explains the issue and offers to retry with `sudo`.
- After creating a user, offers to launch `smbpasswd -a <user>` immediately so the Samba password can be set right away.
- Before saving, checks whether each share folder exists and offers to create missing directories.
- If saving the Samba config or its backup needs admin rights, explains the issue and offers to retry with `sudo`.
- Writes a timestamped backup before saving changes.