Binaries/auth-client: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:


auth-client option username password
auth-client option username password
when run without arguments, auth-client will run a menu in stead





Latest revision as of 07:19, 28 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


when run without arguments, auth-client will run a menu in stead


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