Linux: Difference between revisions

195 bytes added ,  30 August 2020
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">