show users in sudo group
grep -Po '^sudo.+:K.*$' /etc/group
change user linuxcommand ch
chown USER:GROUP FILE
Change the user and grop for an entire folder:
chown -R USER:GROUP FILE
add sudo user centos server group
# :::::: - AGREAGAR SUDO, EN CENTOS 7 SERVER - :::::
#creamos el usuario
adduser junior
#creamos el pasword
passwd junior123
#agregamos el permiso de SUDO AL usuario "junior"
usermod -aG wheel junior
linux change user and group
chown USER:GROUP FILE
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us