🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.slackware
Article #15

Re: Moving to Slackware 15, having troubles with PAM

#15
From: Lew Pitcher
Date: Thu, 29 Oct 2026 16:26
71 lines
3631 bytes
Well, that /was/ useful, and I think that I've fixed my problem.
At least, I've managed to stop the privilege escalation, and
can look into the issue that lead to it at my convenience.

Mike's advice helped centre me, and, in expressing the problem
details, I had a thought: As all the problems seem to centre
around the root user's password, what would happen if I
/changed/ the password?

So, I logged on as root (no password prompt), issued the
passwd(1) command, and changed root's password. Then I
logged off.

Back at the login prompt, I tried to log in as root, and
lo and behold, login wanted the root password. I gave it
the new password, and got in properly.

I tested "su - root" from an unprivileged user, and, again
got the (previously missing) password prompt.

So, my guess is that, somehow, the /etc/shadow entry for
root wasn't properly formatted, when I copied it from the
14.2 shadow file.

Anyway, it's fixed. Thanks to all.


On Thu, 29 Oct 2026 16:04:14 +0000, Lew Pitcher wrote:

> Hi, Mike.
> 
> Thanks for your reply. I'll review my pam setup with an eye
> to your comments.
> 
> On Thu, 29 Oct 2026 00:00:55 -0400, Mike Small wrote:
> 
>> Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes:
>> 
>>> Hi gals and guys
>>>
>>> I'm having problems with Slackware 15's user authentication and authorization
>>> process, as managed by pam(8), and need some advice.
> 
> [snip relevant problem description]
> 
>> I don't recall having to do much or understand PAM, but I hadn't
> 
> [snip relevant discussion, not necessary to this reply]
> 
> In my thrashing around with this problem, I made some changes to
> /etc/pam.d/su and /etc/pam.d/elogind-user, that I've now backed out
> (by "upgradepkg --reinstall", and ensuring the relevant .new files
> have been properly taken care of).
>
> I'm assuming that I've either missed some critical package or
> misconfigured the authentication and authorization facilities
> (both are possible). 
> 
> I will keep looking, as per your suggestions. In the mean time,
> I'd appreciate any further assistance you or the denizens of
> alt.os.linux.slackware can provide.
> 
> Many, many thanks.




-- 
Lew Pitcher
"In Skills We Trust"
Not LLM output - I'm just like this.
Technical Details
Message-ID: <11bvs48$3gi15$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11btoef$2pfoe$1@dont-email.me> <jpk8q3hf954.fsf@panix5.panix.com> <11bvqpt$3ehks$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups: alt.os.linux.slackware
Subject: Re: Moving to Slackware 15, having troubles with PAM
Date: Thu, 29 Oct 2026 16:26:49 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 71
Message-ID: <11bvs48$3gi15$1@dont-email.me>
References: <11btoef$2pfoe$1@dont-email.me>
	<jpk8q3hf954.fsf@panix5.panix.com> <11bvqpt$3ehks$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 29 Oct 2026 16:26:50 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3688485"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+rbaLvuX9p4xrr8E7doQzqiNiD9aVgagg="; posting-host="2614641378bd6cb99d755b510688ef56"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
Cancel-Lock: sha1:McZ2F1xCjlNhVju7nsNBO0aW2dE= sha256:aXwtT17R16wwhYRrII1L/m6m6X35FWtf1penDY7qRQU=
	sha1:05FPMLskjmYd18GDb5Qs7JPz8zc= sha256:nQKms5FOH2IXNFFI+oM3taIQeIFh+I872l1xeBbi+tk=