Skip to content

Instantly share code, notes, and snippets.

@neatshell
Forked from Jay991/solution.text
Last active January 2, 2021 18:18
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 neatshell/cd83857f67eaac4169e9e391d0c813a1 to your computer and use it in GitHub Desktop.
Save neatshell/cd83857f67eaac4169e9e391d0c813a1 to your computer and use it in GitHub Desktop.
Solution for Yoeman Error: EACCES, permission denied '/root/.config/configstore/insight-yo.json' You don't have access to this file.
You need to create a new user and give it sudo privleges:
$adduser username
Set password prompts:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for username
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
Give the new user sudo privledges
usermod -aG sudo username
Switch to new user
su - username
Then run
Yo command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment