Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active January 8, 2017 07:36
Show Gist options
  • Save nishinoshake/9c9cf9a26ec446b3531c55cfdb23954e to your computer and use it in GitHub Desktop.
Save nishinoshake/9c9cf9a26ec446b3531c55cfdb23954e to your computer and use it in GitHub Desktop.
グループの作成と追加
# 作成
groupadd git
# 追加
# -a --append
# -G --groups
usermod -aG group user
# ユーザ作成時に追加
useradd -g group user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment