WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?  (Read 5171 times)

Offline magicloud

  • Newbie
  • *
  • Posts: 30
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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #1 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #2 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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #3 on: November 11, 2013, 10:39:05 AM »
RPC was dropped from glibc several versions ago. Upstream decision.
The only barriers that can stop you are the ones you create yourself.

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #4 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.

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #5 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #6 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #7 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 ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #8 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.

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #9 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....

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #10 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

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #11 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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #12 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.

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #13 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: May I know why in 5.x, rpc support is removed from glibc, thus no PAM?
« Reply #14 on: December 11, 2013, 01:24:04 AM »
It looks like this extension never got submitted, so libtirpc posted