Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2011 15:23:00 -0400
From:      Dimitri Yioulos <>
Subject:   Re: Help with pam_abl package
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tuesday 05 April 2011 12:22:54 pm Phusion 
> I'm having a problem with the pam_abl package.
> I've already emailed the programs author, but
> didn't get a reply back. I'm having trouble
> setting up a rule to exclude to users. One user
> is the root user while the other is a local
> account. I've tried multiple things, but they
> don't seem to work. The rules seem to only not
> include the root user.
> This does exclude the root user, but not the
> localacct user.
> #debug
> user_db=/var/db/pam_abl/users.db
> user_rule=!root|!localacct:5/60d
> This next one doesn't seem to work either.
> #debug
> user_db=/var/db/pam_abl/users.db
> user_rule=!root:5/60d !localacct:5/60d
> Please advise.
> Phusion
> _______________________________________________
> mailing list
>sd-questions To unsubscribe, send any mail to
> ""

You might want to try the following (from the 
pam_abl documentation):

Multiple rules can be provided separated by spaces 
like this

*:10/1h root:5/1h,10/1d

in which case all rules that match a particular 
user and service will be checked. The user or 
host will be blocked if any of the rule triggers 
matches. The sense of the user matching can be 
inverted by placing a '!' in front of the rule so 


is a rule which would match for all users apart 
from root. It is important to treat root as a 
special case in the user_rule otherwise excessive 
attempts to authenticate as root will result in 
the root account being locked out even for valid 
holders of root credentials.



This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Want to link to this message? Use this URL: <>