Binaries/auth-client: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
auth-client [[Binaries|binary]] is used to manage users on the auth server | auth-client [[Binaries|binary]] is used to manage users on the auth server | ||
this is used only for networked systems, local login cannot use these commands, for local users, use "[[Binaries/usermod|usermod]]" | |||
Revision as of 00:09, 27 September 2024
auth-client binary is used to manage users on the auth server
this is used only for networked systems, local login cannot use these commands, for local users, use "usermod"
usage:
auth-client option username password
options:
adduser - adds a user
deluser - deletes a user, doesn't need password
addadmin - adds an admin
setpass - changes a password
setowner - sets a system owner, uses username as systemname and password as whitelist group
delowner - deletes owner information, doesn't need username or password
eg: "auth-client adduser foo bar" creates a user with name foo and password bar
"auth-client addadmin foo bar" creates an admin with name foo and password bar
"auth-client setowner systemname groupname" sets the current user as owner/admin on this system and the group called groupname as a whiltelist for user-access