From bd7260bf4f1ddafa37abcba6a8b88ce6a23aad26 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 21 Dec 2022 01:13:00 +0100 Subject: Add Linux user management --- user-management.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user-management.md diff --git a/user-management.md b/user-management.md new file mode 100644 index 0000000..0f99f1a --- /dev/null +++ b/user-management.md @@ -0,0 +1,12 @@ +# Managing Linux users + +## Adding a user + + useradd [-m|--create-home] [-G|--groups ] -s + passwd + # as root, to add to sudoers + visudo + +## Adding user to a group + + gpasswd -a user group -- cgit v1.2.3