设置普通用户并sudo到root

vim /etc/sudoers
admin ALL=(ALL) NOPASSWD: ALL