Add user into admin group on CentOS
将用户加入admin组
- add
username
intowheel
group:
usermod -aG wheel username
- add
username
intoroot
group:
usermod -aG sudo username
- permanent change
edit /etc/sudoers
and add
debian ALL=(ALL:ALL) ALL
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here