1 add write permission to /etc/sudoers file
2 add your login in under these lines:
# User privilege specification
root ALL=(ALL) ALL
yourloging ALL=(ALL) ALL
3 restore the original file permission
1 add write permission to /etc/sudoers file
2 add your login in under these lines:
# User privilege specification
root ALL=(ALL) ALL
yourloging ALL=(ALL) ALL
3 restore the original file permission
转载于:https://www.cnblogs.com/zbie/archive/2012/09/09/2677336.html