offer set user password on creation
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`.
|
||||
- After creating a user, offers to launch `smbpasswd -a <user>` immediately so the Samba password can be set right away.
|
||||
- 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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user