Re: UNIX: How to determine the authentication domain of a user ?

This is a discussion on Re: UNIX: How to determine the authentication domain of a user ? within the Linux Security forums, part of the System Security and Security Related category; On Fri, 2008-02-08 at 05:04 -0800, C. wrote: .... > > You don't. You'd need to ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-08-2008
Chris Cox
 
Posts: n/a
Default Re: UNIX: How to determine the authentication domain of a user ?

On Fri, 2008-02-08 at 05:04 -0800, C. wrote:
....
>
> You don't. You'd need to rewrite the pam modules in your chain to set
> a flag somewhere but its an ugly way to solve a silly problem


The main problem is pam_unix (or pam_unix2) which uses nsswitch.
If every auth was just a pam stack module, you could insert a dummy
module inside of the stack order to determine at what level
a user achieved auth.

But since NIS and files was mentioned... that's all pam_unix*.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0