Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

pam-less system

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
knittel
n00b
n00b
Posts: 50
Joined: Fri Nov 29, 2002 12:57 am

pam-less system

  • Quote

Post by knittel » Fri Nov 29, 2002 6:56 pm

Hello,

I try to rebuild my base-system without pam. I set "-pam" as use flag in make.conf and removed pam, pwdb and cracklib from make.profile/packages.
However, emerge -e -p system still wants to build pam and related.
I guess some port is not respecting "-pam" ?
Anyone experience ?
Top
shdwrnnr
n00b
n00b
Posts: 17
Joined: Fri Aug 30, 2002 11:58 am

  • Quote

Post by shdwrnnr » Fri Nov 29, 2002 11:44 pm

There are still a few packages that require pam regardless of the USE flags. This was a choice made by the developers. Before bootstrapping, you'll have to go into /etc/local.profile, take out the pam-login, modify the shadow ebuild file to install its own login program instead of using the login from pam-login. You may have to edit a few other ebuild files to pull this off. I did this and was able to have a pam-less system.
Top
panserg
Apprentice
Apprentice
User avatar
Posts: 188
Joined: Wed Apr 16, 2003 7:10 pm

  • Quote

Post by panserg » Sat Feb 14, 2004 10:55 pm

I am not arguing with you, instead I am trying to educate myself:

What would be a reason to build the system without PAM?
Less is more!
Top
AngusYoung
Retired Dev
Retired Dev
User avatar
Posts: 473
Joined: Fri Dec 20, 2002 12:08 am
Location: Czech Republic
Contact:
Contact AngusYoung
Website

  • Quote

Post by AngusYoung » Sun Feb 29, 2004 3:04 am

panserg wrote:I am not arguing with you, instead I am trying to educate myself:

What would be a reason to build the system without PAM?
I`d like to know that too ...

[edit]
Well, talking to a friend on IRC, she recommended me to read this (search for "Tue Sep 23 14:43:10 PDT 2003").
I'll quote that for us:
This fixes security problems with PAM authentication. It also includes
several code cleanups from Solar Designer. Slackware does not use PAM and is
not vulnerable to any of the fixed problems.
Please indulge me for this brief aside (as requests for PAM are on the rise):
If you see a security problem reported which depends on PAM, you can be
glad you run Slackware. I think a better name for PAM might be SCAM, for
Swiss Cheese Authentication Modules, and have never felt that the small
amount of convenience it provides is worth the great loss of system
security. We miss out on half a dozen security problems a year by not
using PAM, but you can always install it yourself if you feel that
you're missing out on the fun. (No, don't do that)
... it was made by Patrick, from Slackware Linux.
[/edit]
My blog
Twitter
Top
NightSpirit
n00b
n00b
User avatar
Posts: 71
Joined: Sat Sep 27, 2003 4:21 pm
Location: North London, UK
Contact:
Contact NightSpirit
Website

  • Quote

Post by NightSpirit » Wed Mar 10, 2004 11:03 pm

panserg wrote:I am not arguing with you, instead I am trying to educate myself:

What would be a reason to build the system without PAM?
Well, my reasons for wanting to build a system without PAM is because the last two times I have installed gentoo systems I have ended up with systems I can't login to at the console because of pam. I know there is a fix on the forums to do with creating and editing the /etc/pam.d/login file that is missing by default but even so ... gentoo is supposed to be about choice and I choose to include -pam in my USE and thus I don't really want pam and pam-login installed on my system or forcing themselves to be messed around with before I can login to my system :(

Not having a go as such, just annoyed that I have just had to reboot my newly installed machine, boot a live-cd, re-chroot back in, unmerge both pam and pam-login and then re emerge shadow on a P166MMX :(
Currently playing with Applescript ... hmmm
Top
Toskinha
n00b
n00b
Posts: 1
Joined: Mon Mar 01, 2004 2:07 pm

  • Quote

Post by Toskinha » Fri Mar 19, 2004 6:56 pm

Hi

My USE also have "-pam", but seems like emerge system ignore it. So, after finished install, you can do
USE="-pam" emerge shadow sudo

and have a nice pam-less system. Work for me, and I remove pam and pam-login.
Top
3lithium
n00b
n00b
Posts: 54
Joined: Sun Mar 07, 2004 5:51 pm
Contact:
Contact 3lithium
Website

  • Quote

Post by 3lithium » Sat Mar 20, 2004 3:46 am

panserg wrote:What would be a reason to build the system without PAM?
Because it's not really needed on my systems, and the fewer packages installed the better - less resources are needed, less things to maintain, less things that can go wrong, less exposure to security problems...
Top
converter
Apprentice
Apprentice
User avatar
Posts: 163
Joined: Tue Dec 24, 2002 11:19 pm

  • Quote

Post by converter » Mon Mar 29, 2004 4:58 am

panserg wrote:I am not arguing with you, instead I am trying to educate myself:

What would be a reason to build the system without PAM?
I, for one, could do without the total fubar that is pam_console. This useless appendage is a constant source of grief for me; it constantly leaves important device files owned by users who are no longer logged into the system. As soon as I get a chance, I'm going to disable pam_console and use groups to control access to the sound devices and nvidia drivers, just as nature intended.

I'm still trying to figure out which problem pam_console is supposed to be solving. Anyone know? My Linux boxes worked fine for years without pam_console, and when it started showing up, all it did was create problems of its own.
converter
Top
NightSpirit
n00b
n00b
User avatar
Posts: 71
Joined: Sat Sep 27, 2003 4:21 pm
Location: North London, UK
Contact:
Contact NightSpirit
Website

  • Quote

Post by NightSpirit » Sun Apr 04, 2004 8:24 pm

Grrr! Just found out pam is a "dependancy" for the gdm ebuild now. :( That's new - or atleast it didn't produce a broken gdm last time i installed it.
shdwrnnr wrote:There are still a few packages that require pam regardless of the USE flags. This was a choice made by the developers.
Out of curiosity, is there an IRC log or forum post about this somewhere? I'd be quite interested in reading why the choice was made to break the systems of people who set "-pam" in their use flags.
Currently playing with Applescript ... hmmm
Top
chashab
n00b
n00b
User avatar
Posts: 71
Joined: Wed Jun 16, 2004 7:23 pm
Location: Republic of Alumbia
Contact:
Contact chashab
Website

  • Quote

Post by chashab » Tue Jul 19, 2005 10:18 pm

I've removed pam from installed boxes, but i'm about to install gentoo on a couple more.

Has anyone installed a pam-less Gentoo recently? How did it go?
Top
CompNerd
Retired Dev
Retired Dev
User avatar
Posts: 311
Joined: Sun Mar 16, 2003 8:02 pm
Location: 127.0.0.1

  • Quote

Post by CompNerd » Wed Jul 20, 2005 4:19 am

I have multiple PAM-less systems that I run currently. None of them have any issues...and now that GDM has been fixed, I have everything working exactly like I like it.

compnerd
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic