Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.slackware > #35857

Re: Moving to Slackware 15, having troubles with PAM

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups alt.os.linux.slackware
Subject Re: Moving to Slackware 15, having troubles with PAM
Date 2026-10-29 16:26 +0000
Organization The Pitcher Digital Freehold
Message-ID <11bvs48$3gi15$1@dont-email.me> (permalink)
References <11btoef$2pfoe$1@dont-email.me> <jpk8q3hf954.fsf@panix5.panix.com> <11bvqpt$3ehks$1@dont-email.me>

Show all headers | View raw


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.

Back to alt.os.linux.slackware | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-10-28 21:11 +0000
  Re: Moving to Slackware 15, having troubles with PAM Mike Small <smallm@panix.com> - 2026-10-29 00:00 -0400
    Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-10-29 16:04 +0000
      Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-10-29 16:26 +0000
        Re: Moving to Slackware 15, having troubles with PAM Mike Small <smallm@panix.com> - 2026-10-29 13:16 -0400
          Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-10-29 18:10 +0000
        Re: Moving to Slackware 15, having troubles with PAM Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-11-02 06:22 +0000
          Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-11-02 14:16 +0000
            Re: Moving to Slackware 15, having troubles with PAM Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-11-03 06:53 +0000
            Re: Moving to Slackware 15, having troubles with PAM kaukasoina3dore73js4@sci.fi (Petri Kaukasoina) - 2026-11-03 08:21 +0000
              Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-11-03 14:45 +0000
                Re: Moving to Slackware 15, having troubles with PAM Mike Small <smallm@panix.com> - 2026-11-05 23:25 -0500
                Re: Moving to Slackware 15, having troubles with PAM Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2026-11-06 12:46 +0000
  Re: Moving to Slackware 15, having troubles with PAM Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-11-02 06:14 +0000

csiph-web