From badb6073ba4bd73e787a3d902dffb41e35515bf8 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 14 Dec 2012 16:15:28 -0500 Subject: [PATCH] new script to create my nice set of users and their groups. --- scripts/users/group_spouter.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/users/group_spouter.sh diff --git a/scripts/users/group_spouter.sh b/scripts/users/group_spouter.sh new file mode 100644 index 00000000..e90df725 --- /dev/null +++ b/scripts/users/group_spouter.sh @@ -0,0 +1,5 @@ +sed -e 's/\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):\([^:]*\):.*/sudo addgroup --gid \4 \1 ; sudo adduser \1 --uid \3 --gid \4/' < $CLOUD_DIR/configuration/users/fred_and_alts.passwd >$TMP/zz_spouted_groups.sh + +Now running the $TMP/spouted_groups.sh script to create the groups: +bash $TMP/zz_spouted_groups.sh + -- 2.34.1