(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-07-07 08:54:39 +02:00 committed by GitSync
parent 2799ee8c52
commit dba27a6478

View File

@ -23,6 +23,11 @@ full name -> -c
Example more complicated usage: Example more complicated usage:
`# useradd -m -c "Bruno Huber" -s /bin/bash -G sudo,systemd-journal bruhub` `# useradd -m -c "Bruno Huber" -s /bin/bash -G sudo,systemd-journal bruhub`
### Remove user
The command `userdel` can be used to remove users from a system.
Using it with the `-r` additionally deletes the user home directory and mail spool.
`# userdel -r (user)
### Add user to groups ### Add user to groups
Add user to more groups: Add user to more groups:
`# usermod -a -G (group1),(group2) (user)` `# usermod -a -G (group1),(group2) (user)`