Skip to content

Instantly share code, notes, and snippets.

@SirJson
Last active September 25, 2020 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirJson/f447c49fe4fedb0fbe13a48bc67f99f0 to your computer and use it in GitHub Desktop.
Save SirJson/f447c49fe4fedb0fbe13a48bc67f99f0 to your computer and use it in GitHub Desktop.
Create a new user on raspbian with the groups of pi
useradd -m -G $(groups pi | cut -b 9- | tr ' ' ',') arthur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment