Adding a user to a group
Last updated
Was this helpful?
Last updated
Was this helpful?
With adduser
we can add user to a group like this:
We can include a user to a group. We must include out user in the groups sudo
and user42
in my case:
Once we are done with that we can check it using getent group <groupname>
; the groups sudo
and user42
must be present with our user: