Skip to content

Instantly share code, notes, and snippets.

@azenla
Created November 18, 2015 00:01
Show Gist options
  • Save azenla/64354f540f4c6819b908 to your computer and use it in GitHub Desktop.
Save azenla/64354f540f4c6819b908 to your computer and use it in GitHub Desktop.

User Management Tool

Running

Linux

./bin/users.sh add -u jsmith -p changeme

Windows

bin\users.bat add -u jsmith -p changeme

Commands

add

Adds a user to DGLux Server.

-u: Username for the new user -p: Password for the new user -s: If added, the the new user will be a superuser

Examples:

# Add a user named 'jsmith' with a password of 'changeme' with no superuser permissions.
./bin/users.sh add -u jsmith -p changeme

# Add a user named 'jsmith' with a password of 'changeme' with superuser permissions.
./bin/users.sh add -u jsmith -p changeme -s

remove

Remove a user from DGLux Server.

-u: Username of user to remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment