Binaries/usermod: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
usermod [[Binaries|binary]] is used to modify users, older version but still works
usermod [[Binaries|binary]] is used to modify users, older version but still works.
 
usermod is for local logins only and not for rednet network based, for that you use the set of binaries from auth-client
 





Latest revision as of 00:10, 27 September 2024

usermod binary is used to modify users, older version but still works.

usermod is for local logins only and not for rednet network based, for that you use the set of binaries from auth-client


usage:

usermod option username password


options:

adduser - adds a new user

deluser - deletes a user, no password needed

addadmin - attempts to add an admin

setpass - changes a password


eg: "usermod addadmin foo bar" creates an admin with the username foo and password bar