Doc update

This commit is contained in:
Bryan Ashby 2018-12-16 00:38:49 -07:00
parent 422a925daa
commit 320ac1fc36
1 changed files with 12 additions and 8 deletions

View File

@ -44,18 +44,22 @@ The `user` command covers various user operations.
usage: optutil.js user <action> [<args>] usage: optutil.js user <action> [<args>]
actions: actions:
pw USERNAME PASSWORD set password to PASSWORD for USERNAME info USERNAME display information about a user
rm USERNAME permanently removes USERNAME user from system pw USERNAME PASSWORD set a user's password
activate USERNAME sets USERNAME's status to active aliases: password, passwd
deactivate USERNAME sets USERNAME's status to inactive rm USERNAME permanently removes user from system
disable USERNAME sets USERNAME's status to disabled aliases: remove, delete, del
lock USERNAME sets USERNAME's status to locked activate USERNAME set status to active
group USERNAME [+|-]GROUP adds (+) or removes (-) user from GROUP deactivate USERNAME set status to inactive
disable USERNAME set status to disabled
lock USERNAME set status to locked
group USERNAME [+|-]GROUP adds (+) or removes (-) user from a group
``` ```
| Action | Description | Examples | Aliases | | Action | Description | Examples | Aliases |
|-----------|-------------------|---------------------------------------|-----------| |-----------|-------------------|---------------------------------------|-----------|
| `pw` | Set password | `./oputil.js user pw joeuser s3cr37` | `pass`, `passwd`, `password` | | `info` | Display user information| `./oputil.js user info joeuser` | N/A |
| `pw` | Set password | `./oputil.js user pw joeuser s3cr37` | `passwd`, `password` |
| `rm` | Removes user | `./oputil.js user del joeuser` | `remove`, `del`, `delete` | | `rm` | Removes user | `./oputil.js user del joeuser` | `remove`, `del`, `delete` |
| `activate` | Activates user | `./oputil.js user activate joeuser` | N/A | | `activate` | Activates user | `./oputil.js user activate joeuser` | N/A |
| `deactivate` | Deactivates user | `./oputil.js user deactivate joeuser` | N/A | | `deactivate` | Deactivates user | `./oputil.js user deactivate joeuser` | N/A |