[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Bright idea...
- From: "Michael K. Johnson" <johnsonm redhat com>
- To: pam-list redhat com
- Subject: Re: Bright idea...
- Date: Mon, 24 Jun 1996 12:39:35 -0400
Aleph One writes:
>Interesting. I would argue that such an option should be included in each
>module instead of having a separe module.
There's not much point in duplicating code across every module. It seems
sensible to me to use modules as modules...
Try this instead:
rexec auth required /usr/lib/security/pam_unix_auth.so
rexec auth optional /usr/lib/security/pam_delay.so 200ms
rexec auth required /usr/lib/security/pam_other_auth.so
rexec auth optional /usr/lib/security/pam_delay.so 200ms
It will (assuming someone writes the module for you) give you the
behavior you want without the duplicated code. I know waiting isn't
hard, but adding code to check the argument, and having the code know
how to parse different time specifications, etc., is a solid argument
for keeping it separate.
michaelkjohnson
"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]