Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Building a web-based system administration interface in Perl

by moritz (Cardinal)
on Apr 07, 2009 at 21:42 UTC ( [id://756157]=note: print w/replies, xml ) Need Help??


in reply to Re: Building a web-based system administration interface in Perl
in thread Building a web-based system administration interface in Perl

  • be pure perl
  • be able to use PAM for authentication and authorisation

Somehow these two points look rather contradictory to me. So you want to have a pure Perl library that interfaces a C library (PAM)?

I think that's possible with syscall and/or DynaLoader magic, but somehow I doubt that it'll be easier, more maintainable or less evil than the alternative.

But I guess we all have our dreams...

Replies are listed 'Best First'.
Re^3: Building a web-based system administration interface in Perl
by afoken (Chancellor) on Apr 08, 2009 at 20:15 UTC

    You are right. PAM and "pure perl" are nearly incompatible. If the tool would interface with PAM, it should do so using a classic XS-based module, preferably an already existing and well-tested one.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://756157]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-29 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found