Skip to content
Permalink
Browse files

Add biogroup user script

  • Loading branch information...
mjsteinbaugh committed Sep 10, 2019
1 parent 71d63bd commit b6b554bd93fe8ffc6028583a2bef713cd9ee669f
Showing with 16 additions and 0 deletions.
  1. +16 −0 host/azure/sbin/add-biogroup-user
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -Eeu -o pipefail

# shellcheck source=/dev/null
source "$(koopa header azure)"

# Add biogroup user
# Updated 2019-09-09.

user="${1:-mike}"
sudo useradd "$user"
sudo passwd "$user"
sudo usermod -a -G wheel "$user"
sudo usermod -a -G biogroup "$user"
groups "$user"

0 comments on commit b6b554b

Please sign in to comment.
You can’t perform that action at this time.