Article View: alt.os.linux.slackware
Article #17Re: Moving to Slackware 15, having troubles with PAM
From: Lew Pitcher
Date: Thu, 29 Oct 2026 18:10
Date: Thu, 29 Oct 2026 18:10
51 lines
3428 bytes
3428 bytes
On Thu, 29 Oct 2026 13:16:15 -0400, Mike Small wrote: > Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes: > >> 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. [snip] >> 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. [snip] >> >> Anyway, it's fixed. Thanks to all. > > Nice. Glad you've closed that up. > > But just to be paranoid, have you tried mistyping the root password? Yes. From the console, at login as root, via "su - root" from an unprivileged session logged in at the console, and via "su - root" from an unprivileged session, logged in via ssh. In all cases, the attempt at root access (via login or su) was denied. > I'm concerned that if su (and pam_unix?) failed before at authorizing > against shadow, and speculating that its step 2 might have been something > like, "well, proceed to next authorization; oh, there is no other so let > them in," then failing by wrong password might go down the same path > with the same result. > > I don't understand PAM well, but it sounded like the pam_deny module was > very important to have active to make sure problems fail closed. I'm > wondering if there was and still is something wrong with your system > with that. I appreciate the concern. It looks like I'm protected, but I will look into the intricacies of pam further, and ensure (to the best of my abilities) that the system is secure. Thanks for the advice and concern. -- Lew Pitcher "In Skills We Trust" Not LLM output - I'm just like this.
Technical Details
Message-ID:
<11c0275$3gi15$2@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-mailReferences:
<11btoef$2pfoe$1@dont-email.me> <jpk8q3hf954.fsf@panix5.panix.com> <11bvqpt$3ehks$1@dont-email.me> <11bvs48$3gi15$1@dont-email.me> <jpkecd85sww.fsf@panix5.panix.com>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 18:10:45 -0000 (UTC) Organization: The Pitcher Digital Freehold Lines: 51 Message-ID: <11c0275$3gi15$2@dont-email.me> References: <11btoef$2pfoe$1@dont-email.me> <jpk8q3hf954.fsf@panix5.panix.com> <11bvqpt$3ehks$1@dont-email.me> <11bvs48$3gi15$1@dont-email.me> <jpkecd85sww.fsf@panix5.panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 29 Oct 2026 18:10:46 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3688485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//mrS+6utCznuHK9xKbZUuKXx8AYUnlEg="; posting-host="2614641378bd6cb99d755b510688ef56" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:5a1zxPeixi/RxTJwVv7itOg7xDY= sha256:JIFq+4hNmC1pKT5SSI6zELnEyYgyKSLqDDCEtIBn674= sha1:6gou/KpOln0AeYmjBnjB8m54T2I= sha256:BKMf7LWvdzEL/FuCY+OY2s+mO/dKAIII+XRVuBFoCIo=