CentOSに管理ユーザを作成する
1.ユーザ作成
# useradd cftuser
# passwd cftuser
# cd /home/cftuser/
# pwd
2.管理者権限の付与
# vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
cftuser ALL=(ALL) ALL (追記)
## Allows people in group wheel to run all commands
修正前
# %wheel ALL=(ALL) ALL
修正後
%wheel ALL=(ALL) ALL