Binaries/usermod: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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
 




Line 16: Line 19:


setpass - changes a password
setpass - changes a password
eg: "''usermod addadmin foo bar''" creates an admin with the username foo and password bar

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