On Fri, Oct 03, 2008 at 10:16:11AM +0100, Darren J Moffat wrote:
> Mike Gerdts wrote:
> >other account required pam_authorized.so.1 
> >authsfile=/etc/MyCompany/loginauths
> 
> I considered that, but hadn't discussed it with Bart.  At one point 
> during the development of our proposal we had the ability to specify a 
> profile to capture the case of multiple authorisations eg:
> 
> pam_authorized.so.1 profile="MyCompany J2EE Logins"

As we're doing with pam_user_policy, just have an attr key for
user_attr(4) and prof_attr(4) and then look for that key in the user's
user_attr($) entry and in the user's profiles (inlcuding the ones
granted by policy.conf(4).

This key should name a file (possibly including as a URI, so that it
could be obtained via https, nfs, ...) that contains the authorizations
that should be used.

Not only will that match what PSARC/2005/275 did, but it will actually
provide quite a bit of flexibility.

If you want to support host-specific configuration then we can add a
host_attr(4) map if need be.

Nico
-- 

Reply via email to