Files
server_init_harden/init-linux-harden.sh
Pratik Tripathy 178cffcc67 feat: FreeBSD, Fedora, SUSE, Arch support for "Create new user"
operation

- Split "User creation" & "Granting new user sudo" into separate methods
- new: Abort on user creation failure
- new: Abort on sudo privilege failure
- Removed user existence check; it is done during argument parsing
- Consistent console & file logs; start, success & failure
- FreeBSD, Fedora, SUSE: Add `wheel` group to sudoer & add user to
  `wheel` group
- Debian, Ubuntu: Add user to `sudo` group
2025-09-08 15:50:12 +05:30

29 KiB
Executable File