wrtie config needs sudo usually
This commit is contained in:
@@ -25,6 +25,7 @@ The program:
|
||||
- Checks `valid users` entries against local accounts.
|
||||
- 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`.
|
||||
- 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.
|
||||
|
||||
If you create a local account for a Samba-authenticated share, you may still need to add the Samba password separately:
|
||||
|
||||
Reference in New Issue
Block a user