Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: magicloud on November 11, 2013, 05:04:19 AM

Title: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 11, 2013, 05:04:19 AM
I was using PAM in a remaster of 2.x. Now I want to migrate to 5.x to keep everything up. But I cannot find PAM. I tried to compile it earlier, which failed due to no rpc support in glibc.

If I compile my own glic, then things will get quit complex. What should I do?
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: Juanito on November 11, 2013, 05:14:18 AM
Did you try using libtirpc as a replacement for rpc in glibc - this is the way blfs does it.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: tinypoodle on November 11, 2013, 09:51:21 AM
Quote
I think a better name for PAM might be SCAM, for Swiss Cheese Authentication Modules [...] - Patrick Volkerding
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: curaga on November 11, 2013, 10:39:05 AM
RPC was dropped from glibc several versions ago. Upstream decision.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 11, 2013, 09:54:42 PM
Did you try using libtirpc as a replacement for rpc in glibc - this is the way blfs does it.
So you were saying that I could user libtirpc when compiling PAM? I will try that.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 11, 2013, 10:12:33 PM
Quote
I think a better name for PAM might be SCAM, for Swiss Cheese Authentication Modules [...] - Patrick Volkerding
You mean I should not have used it? Then how do I do some controllable auth? I mean some privilege check from client side.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: Rich on November 11, 2013, 10:24:47 PM
Hi magicloud
Since tinypoodle did not post any alternatives or explanations I'd guess he posted that because he felt it was humorous.
If you require PAM just build it.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: tinypoodle on November 12, 2013, 02:21:56 PM
It's a quote from Slackware 9.1 change log more than 10 years ago, which has been discussed a lot ever since.
A google search with the quote in "double quotes" would render 3040 results, you can form your own opinion ;)
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 13, 2013, 02:24:49 AM
Did you try using libtirpc as a replacement for rpc in glibc - this is the way blfs does it.
So you were saying that I could user libtirpc when compiling PAM? I will try that.
Yes, it worked, without any modification.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 13, 2013, 02:25:41 AM
It's a quote from Slackware 9.1 change log more than 10 years ago, which has been discussed a lot ever since.
A google search with the quote in "double quotes" would render 3040 results, you can form your own opinion ;)
Yes, did that. Some people say PAM is evil but did not come up with an alter....
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: Juanito on November 13, 2013, 09:07:35 PM
Yes, it worked, without any modification.

Good - it would be much appreciated if you could submit libtirpc and pam as extensions
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 14, 2013, 09:51:04 AM
Yes, it worked, without any modification.

Good - it would be much appreciated if you could submit libtirpc and pam as extensions
It will be my honor. But I do not know the routing, besides .tcz, what should I do, where should I submit?
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: Rich on November 14, 2013, 09:55:33 AM
Hi magicloud
Information related to creating extensions can be found here:
http://wiki.tinycorelinux.net/wiki:creating_extensions
Instructions on where to submit are at the bottom of the page.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: magicloud on November 17, 2013, 11:17:02 PM
Hi magicloud
Information related to creating extensions can be found here:
http://wiki.tinycorelinux.net/wiki:creating_extensions
Instructions on where to submit are at the bottom of the page.
Thank you.
Title: Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
Post by: Juanito on December 11, 2013, 01:24:04 AM
It looks like this extension never got submitted, so libtirpc posted