5,332
edits
Line 418: | Line 418: | ||
==Users and Groups== | ==Users and Groups== | ||
===Users=== | |||
<syntaxhighlight lang="bash"> | |||
# Make a new user | |||
adduser <user> | |||
# Add user to admins | |||
usermod -aG sudo <user> | |||
# Change the password of a user | |||
passwd | |||
passwd <user> | |||
</syntaxhighlight> | |||
===Groups=== | ===Groups=== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |