Binaries/usermod: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "usermod binary is used to modify users, older version but still works")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
usermod 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
 
 
 
'''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

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