On Sat, Sep 27, 2003 at 04:58:50PM +0200, Benedict Verheyen wrote:
> Today i read that Slackware doesn't use PAM by default because of some
> of the leaks that pop up now and then. I was wondering what other type
> of authentications there are on Linux and how easy/difficult they are to
> set up.

Well I think there are three basic ways to change the way you handle
authentication. 

One system is pam where the application that needs authentication uses
the pam library. In that case each application has a file where you can
specify which pam module it should use for authentication, changing
passwords, and so on. There are modules for passwd file, NIS, ldap,
windows authentication, etc.

Another system is to recompile each appplication to use the
authentication you want. This is pretty ugly.

I think another possible way would be through the C library. I believe
that the C library has certain authentication functions (I think for
passwd file and NIS). I think that you could modify these functions to
provide whichever method you want.

> For instance, if i would now like to change the way users are
> authenticated, how would i do that.
> Any info on this?

As I have said, passwd file authentication and NIS are probably built
into the C library so those should be OK to set up. To use anything more
complicated might require messing with the C library or recompiling
programs.

Hope that helps,
Bijan
-- 
Bijan Soleymani <[EMAIL PROTECTED]>
http://www.crasseux.com

Attachment: signature.asc
Description: Digital signature

Reply via email to