From 46bf073fbb32c34b2abace1087ca4bd4388c15fd Mon Sep 17 00:00:00 2001 From: gunboy001 Date: Sun, 18 Nov 2018 17:46:43 +0100 Subject: [PATCH] groups stuff #WIP --- linux_general.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/linux_general.txt b/linux_general.txt index 223a99b..fd8b9f0 100644 --- a/linux_general.txt +++ b/linux_general.txt @@ -59,6 +59,13 @@ they respectively output the current user and groups NOTE: one alternative to "whoami" is "echo $USER" which can be used in scripts +-Adding users to groups: + "usermod -a -G grup user" + reboot + +-Listing all groups: + "cut -d: -f1 /etc/group | sort" + -Linux afterinstall (how to get thing working): Bluetooth usage: Refers to: