sudo — usermod –G groupname username
(note that there are two -)
This solves the problem of adding a user to a user group. After successfully joining, you need to connect to the server again, and the user has the permission of the group. For example, the sudo group has the permission of sudo. OK, here you can install all kinds of software~
Similar Posts:
- [Solved] serial port Call Error: Permission denied: ‘/dev/ttyUSB0’
- ubuntu18.04 Start Android StudioKVM is required to run this AVD ./dev/kvm device: permission denied.
- ubuntu “sudo: add-apt-repository: command not fou”
- Run Wireshark or tshark as a Non-Root User
- ERROR: [pool www] cannot get uid for user ‘localhost.localdomain’ [Solved]
- [Ubuntu18.04] Docker Start Error: Got permission denied while trying to connect to the Docker daemon socket
- [Solved] Windows ADB devices port is occupied error: cannot connect to daemon
- [Solved] hive beeline Connect Error: User:*** is not allowed to impersonate
- The ‘brew link’ step did not complete successfully
- Ubuntu adb :no permissions (user in plugdev group; are your udev rules wrong?);