2013年6月10日 星期一

如何把自己的帳號加入sudo user 好讓自己的帳號可以使用sudo command

#!/usr/sbin/visudo

#!上面的command實際上會編輯/etc/sudoers這個檔案,

只要在user privilege specification上面,把自己的帳號加入 如下的位置即可

# User privilege specification
root ALL=(ALL:ALL) ALL
newuser ALL=(ALL:ALL) ALL

沒有留言:

How to restore a deleted onenote page

復原不小心誤刪的onenote