- 取得連結
- X
- 以電子郵件傳送
- 其他應用程式
CentOS create a user and into wheel group,then let the user can using sudo command
#create user
#change user password
#open wheel group power
#change user group
#remove user
Reference
http://blog.cycu.edu.tw/migasun/2011/03/howto-linux-add-user-to-group/
http://serverfault.com/questions/58378/add-new-user-with-root-access-in-linux
http://linux.vbird.org/linux_basic/0410accountmanager/0410accountmanager.php
http://www.cyberciti.biz/faq/linux-remove-user-command/
#create user
$ useradd username
#change user password
$ passwd
#open wheel group power
$ visudo
%wheel ALL=(ALL) ALL
#change user group
$ usermod -g wheel username
#remove user
$ userdel -r username
Reference
http://blog.cycu.edu.tw/migasun/2011/03/howto-linux-add-user-to-group/
http://serverfault.com/questions/58378/add-new-user-with-root-access-in-linux
http://linux.vbird.org/linux_basic/0410accountmanager/0410accountmanager.php
http://www.cyberciti.biz/faq/linux-remove-user-command/
留言