Binaries/usermod: Difference between revisions

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


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

Revision as of 00:06, 27 September 2024

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


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