Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Houston, Tranquillity Base here. The Eagle has landed. -- Neil Armstrong


computers / alt.os.linux.slackware / removing PAM?

SubjectAuthor
* removing PAM?David Chmelik
`* Re: removing PAM?John McCue
 `- Re: removing PAM?Silvenshadow

1
removing PAM?

<sudhja$19al$3@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=989&group=alt.os.linux.slackware#989

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!WGNCkrdwUCE2lg62qzBGXg.user.46.165.242.91.POSTED!not-for-mail
From: dchmelik@gmail.com (David Chmelik)
Newsgroups: alt.os.linux.slackware
Subject: removing PAM?
Date: Mon, 14 Feb 2022 12:23:06 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <sudhja$19al$3@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="42325"; posting-host="WGNCkrdwUCE2lg62qzBGXg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: David Chmelik - Mon, 14 Feb 2022 12:23 UTC

I found that if you remove pam from Slackware 15, you can no longer login.
I know pam started on a derivative Unix, but I wouldn't really
describe pam 'doing one thing and doing it well.' In addition to
supposedly making logins more secure but also easy for various services,
it kind of took over doing too many things--many logins--and doesn't do
it well, because it forces you to use it for even the simplest login.
What would I have to do to safely remove pam entirely and change it
back to work how it did since days of classic Unix?
I know someone might want to use pam for a large organization's
servers (which might make easier) but I certainly don't want/need it for
desktop nor even my very small servers.

Re: removing PAM?

<sudtu1$76g$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=991&group=alt.os.linux.slackware#991

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jmccue@magnetar.hsd1.ma.comcast.net (John McCue)
Newsgroups: alt.os.linux.slackware
Subject: Re: removing PAM?
Date: Mon, 14 Feb 2022 15:53:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <sudtu1$76g$1@dont-email.me>
References: <sudhja$19al$3@gioia.aioe.org>
Reply-To: jmclnx@SPAMisBADgmail.com
Injection-Date: Mon, 14 Feb 2022 15:53:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6d4606be0a88ac70696a7203b1e1653e";
logging-data="7376"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PHzEYgBZFwDvS3cIXjuOD"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.19 (x86_64))
Cancel-Lock: sha1:xbAVDWz7teIEAYf6NCx30Cgld24=
X-OS-Version: Slackware 15.0 x86_64
 by: John McCue - Mon, 14 Feb 2022 15:53 UTC

David Chmelik <dchmelik@gmail.com> wrote:
> I found that if you remove pam from Slackware 15, you can no longer login

That I would expect to happen

> I know pam started on a derivative Unix, but I wouldn't
> really describe pam 'doing one thing and doing it well.'

I agree

<snip>
> I know someone might want to use pam for a large organization's
> servers (which might make easier) but I certainly don't want/need
> it for desktop nor even my very small servers.

I was not thrilled about PAM, but at least it is staying
out of my way. The only annoyance is when I do a
'su - root' and type in a bad PW, there is a bit of delay
with su(1).

I think it is baked into just about every package, you
may need to recompile everything. IIRC, It was brought
in because KDE needed it and I think XFCE also required
it.

John

--
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars

Re: removing PAM?

<t2qabt$fp9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1142&group=alt.os.linux.slackware#1142

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: bogus@mail.com (Silvenshadow)
Newsgroups: alt.os.linux.slackware
Subject: Re: removing PAM?
Date: Fri, 8 Apr 2022 14:44:25 -0700
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <t2qabt$fp9$1@dont-email.me>
References: <sudhja$19al$3@gioia.aioe.org> <sudtu1$76g$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 8 Apr 2022 21:44:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6ba2afa1256bb911c8ef4f5ef7525bc1";
logging-data="16169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VwmEE8Fs/gPA52HSSTXTN"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Cancel-Lock: sha1:kNt3PNhWyOweGQ42PE87j0wRRUw=
In-Reply-To: <sudtu1$76g$1@dont-email.me>
Content-Language: en-US
 by: Silvenshadow - Fri, 8 Apr 2022 21:44 UTC

<snip>
> I was not thrilled about PAM, but at least it is staying
> out of my way. The only annoyance is when I do a
> 'su - root' and type in a bad PW, there is a bit of delay
> with su(1).
>
> I think it is baked into just about every package, you
> may need to recompile everything. IIRC, It was brought
> in because KDE needed it and I think XFCE also required
> it.

I can attest to it's pervasiveness in 15. That and elogind (which I
consider to be a virus). I looked into removing them but with the
amount of packages you would have to maintain, you might as well fork
slackware and create a new distro using dpkg.

Watch out for strange PAM interactions. I recently had a problem where
PAM decided an account with a disabled password was completely valid and
enabled account with no password.

I've thought for years that things would improve, it seems that PAM,
SystemD and friends have been responsible for a great many of the
problems I've had. Too bad distros are being forced into adopting them
without a clean way to rip them out.

Maybe it's time for a package-alternates in slackware?

-=Silven

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor