mirror of
https://github.com/m8tin/cis.git
synced 2026-06-02 14:56:58 +02:00
Scripts to manage users
This commit is contained in:
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