Binaries/usermod

From Minux Wiki
Jump to navigation Jump to search

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