晕,在Google CN上查如何设sudo logfile全是一样的错

Standard

晕,在Google CN上查如何设sudo logfile全是一样的错.上EN的一搜就对-_||

chmod +w /etc/sudoers
 
vi /etc/sudoers
  Defaults logfile=/var/log/sudo.log
 
chmod -w /etc/sudoers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.