Skip to content

Instantly share code, notes, and snippets.

Created October 13, 2017 13:10
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 anonymous/fc05a28ae7c9db1531f23b56763bb9d7 to your computer and use it in GitHub Desktop.
Save anonymous/fc05a28ae7c9db1531f23b56763bb9d7 to your computer and use it in GitHub Desktop.
Opsi product to put default user sudoer
[Actions]
ShellInAnIcon_adduser
[ShellInAnIcon_adduser]
set -x
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
adduser user sudo
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment