Open LoganRickert opened 7 years ago
Commands to create and manage accounts need to be created.
Registers a new account.
Format:
ADDUSER <username> [password]
Example:
REIGSTER test test
Deletes a user account.
USERDEL <username>
USERDEL test
Logs the user out.
LOGOUT
Creates a new group.
GROUPADD <group>
Flags:
perm:<perm>
GROUPADD test
Edits user information
USER <username>
addgroup:<group>
rmgroup:<group>
addperm:<perm>
rmperm:<perm>
delete
copy:<newusername>
setname:<newusername>
setpassword:<newpassword>
USER test -addgroup:testgroup
Lists the users.
USERS
This issue will be finished when all commands are complete.
Commands to create and manage accounts need to be created.
Adduser
Registers a new account.
Format:
ADDUSER <username> [password]
Example:
REIGSTER test test
Userdel
Deletes a user account.
Format:
USERDEL <username>
Example:
USERDEL test
Logout
Logs the user out.
Format:
LOGOUT
Groupadd
Creates a new group.
Format:
GROUPADD <group>
Flags:
perm:<perm>
- Adds the permission to the group.Example:
GROUPADD test
User
Edits user information
Format:
USER <username>
Flags:
addgroup:<group>
rmgroup:<group>
addperm:<perm>
rmperm:<perm>
delete
copy:<newusername>
setname:<newusername>
setpassword:<newpassword>
Example:
USER test -addgroup:testgroup
Users
Lists the users.
Format:
USERS
This issue will be finished when all commands are complete.