mirror of
https://github.com/m8tin/cis.git
synced 2026-11-02 14:17:24 +01:00
Scripts to manage users
This commit is contained in:
2 files changed
+6
No files matched your search
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo usermod --append --groups sudo "${1:?"Missing first parameter USER"}"
|
||||||
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo usermod --remove --groups sudo "${1:?"Missing first parameter USER"}"
|
||||||
Reference in new issue
Block a user