Find the answer to your Linux question:
Results 1 to 2 of 2
I want to allow a user to reset people's faillog. When I go into the /etc/sudoers file and put this syntax in I still get an error stating : /var/log/faillog ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6

    allow user to execute faillog


    I want to allow a user to reset people's faillog. When I go into the /etc/sudoers file and put this syntax in I still get an error stating :

    /var/log/faillog permission denied. Can someone tell me what I"m missing? Here is what I put syntax:

    %user ALL=/usr/bin/faillog,/var/log/faillog

  2. #2
    Just Joined!
    Join Date
    May 2008
    Location
    Bangalore, India
    Posts
    24
    change /var/log/faillog to /usr/bin/tail -f /var/log/faillog

    this will allow to use sudo and tail the faillog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •