[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: pam_regex

Chris Dent writes:
>One of my colleagues <ahosey@kiva.net> at work has put together a
>pam_regex module which works like pam_listfile (see below).

Very cool!

>I was considering a slash-delimited pattern a la Perl: pattern=/ah.*/
>if people are more comfortable with that. (It makes the pattern stand
>out a little on the command line.) There are two possible drawbacks
>(1) I'd have to handle escaped slashes in the pattern, and (2) people
>might start thinking these are Perl regexes, which they aren't.

Hmm.  I think that using it with something with slashes in it would
be relatively common (like shells); I'd suggest leaving it like it
is, without the slashes.

People have asked for the pam_nislistfile module before, so I'm quite
sure that's welcome news.


"Magazines all too frequently lead to books and should be regarded by the
 prudent as the heavy petting of literature."            -- Fran Lebowitz

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []