Operating System - Linux
1828402 Members
4261 Online
109977 Solutions
New Discussion

how to make a auth module inplace of PAM?

 
SOLVED
Go to solution

how to make a auth module inplace of PAM?

I like PAM, however what i doing now is embedlinux, critical in resource comsuming, so I want a mothod to replace the PAM, only simpfied auth by one text file.

I search in the SysVinit(Redhat), and init.c,main.c, can not find any tips about how to replace the PAM, who can help me.

Appeciate for any tips.

Best regards,
Fredeirck
frederick van targero
2 REPLIES 2
Goran Koruga
Honored Contributor
Solution

Re: how to make a auth module inplace of PAM?

You can build shadow package without PAM support.

./configure --without-libpam

Perhaps various embedded linux pages have something even simpler.

I remember reading a very nice article about stripping unneeded functionality from programs for using them in embedded devices. Unfortunatelly I don't remember the URL ;). But I'm sure google will find it.

G.
Shannon Petry
Honored Contributor

Re: how to make a auth module inplace of PAM?

Im not sure what linux your running, but Redhat has a embeded program as well as toolkits ant API's available. Try there.

Regards,
Shannon
Microsoft. When do you want a virus today?