SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
tl;dr
atm sddm autologin feature doesn't work with PAM.
Excuse me, but I think that you are wrong about that issue. It talks about passwordless logins, which is entirely another thing than the autologin.
What they want is something which was available in KDM: the ability to login from greeter to certain user accounts without typing the password. Useful for "grandma" type of accounts, while preserving the full login (with password) for another users.
However, looks like the autologin feature in SDDM does not work also here.
And, really more disapointing for me: it does not accept a login to the root account, even I introduced the correct credentials.
Excuse me? I talk right now about a full Slackware installation with Plasma5, but done with an USB hard drive used mainly for administrative task like repairing other systems and (re)partitioning hard drives?
With all respect, I do not need the SDDM's Big Brother to keep me to not broke an administrative live system!
Last edited by LuckyCyborg; 05-19-2020 at 05:10 AM.
Since the last upgrade with pam, the file /etc/suauth seems to be ignored. So "su" has only his default behaviour : asking for user login password. Is there a way to make /etc/suauth work again please?
That's disappointing.
Looking at the source, the check_su_auth() function is done in the #else of a #ifdef USE_PAM conditional, so it looks like the answer is no.
If you're just looking to skip password entry alltogether then you could probably do something by adding auth sufficient pam_succeed_if.so user = someone or similar to the pam.d/su entry, but it's not as nice, or safe as using suauth, and I'm not sure how you'd go about reimplementing something like suauth's OWNPASS feature.
If you're just looking to skip password entry alltogether then you could probably do something by adding auth sufficient pam_succeed_if.so user = someone or similar to the pam.d/su entry, but it's not as nice, or safe as using suauth, and I'm not sure how you'd go about reimplementing something like suauth's OWNPASS feature.
It looks like the issues I was having with xfce have been fixed. When I'd first start X, the action button would not load properly and hang the session for a good 30-60 seconds. It seems to be working fine with the addition of PAM.
And, really more disapointing for me: it does not accept a login to the root account, even I introduced the correct credentials.
Excuse me? I talk right now about a full Slackware installation with Plasma5, but done with an USB hard drive used mainly for administrative task like repairing other systems and (re)partitioning hard drives?
With all respect, I do not need the SDDM's Big Brother to keep me to not broke an administrative live system!
Hmm... where have we seen this before? During Plasma5 development, KDE developers have made it a point to try and minimize users running their software as root. This is nothing new. It's very possible there's other programs that refuse to run as root.
Find a patch to revert this and let Eric know. He would probably be willing to revert it like he did with blocking root on dolphin and kate.
Hmm... where have we seen this before? During Plasma5 development, KDE developers have made it a point to try and minimize users running their software as root. This is nothing new. It's very possible there's other programs that refuse to run as root.
Find a patch to revert this and let Eric know. He would probably be willing to revert it like he did with blocking root on dolphin and kate.
This issue is related to PAM, not to something the KDE developers did. On a PAM-less system, root can login to SDDM and start a Plasma5 session.
This issue is related to PAM, not to something the KDE developers did. On a PAM-less system, root can login to SDDM and start a Plasma5 session.
Mr. Hameleers, I dare to say that this issue is related to what Slackware do with PAM, because I have been able to activate the root account, then to login as root from SDDM, and even to go autologin as root, using this post as tutorial:
Hmm... where have we seen this before? During Plasma5 development, KDE developers have made it a point to try and minimize users running their software as root. This is nothing new. It's very possible there's other programs that refuse to run as root.
Like Mr. Hameleers confirmed too, the latest non-PAM Plasma5 build is quite capable to login as root from SDDM, and this SDDM is also quite capable to autologin as root or whatever user. I have several boxes which do those tricks, but I stopped their upgrades before this May 18.
Quote:
Originally Posted by bassmadrigal
Find a patch to revert this and let Eric know. He would probably be willing to revert it like he did with blocking root on dolphin and kate.
I am afraid that the PAM related patches and posts regarding Slackware, are not so usual on Internet today, and unfortunately, myself being a simple user, I have no clue about how to read the code and how to mess with it.
Last edited by LuckyCyborg; 05-19-2020 at 12:16 PM.
Mr. Hameleers, I dare to say that this issue is related to what Slackware do with PAM, because I have been able to activate the root account, then to login as root from SDDM, and even to go autologin as root, using this post as tutorial:
Yes, I talk right now about Kubuntu, the World where they usually do incantations like: sudo, sudo, sudo...
I think it should be obvious by now that Eric has no desire to tell users how to use KDE/Plasma5 (considering he reverted KDE's prevention of running dolphin and kate as root), but your original post seemed to imply that this was done purpose and not some oversight.
There are ways to enable root login with sddm using PAM.
#1 doesn't need to be accomplished since this is part of Slackware's install process.
#2 probably doesn't need to be done since logging in as root worked before PAM was added.
#3 is likely the only thing that'd need to be done to fix this. Namely comment out "auth required pam_success_if.so user != root quiet_success" in /etc/pam.d/sddm
If Eric wasn't already aware of this (it might be covered in his blog as I don't read it frequently since I'm not running ktown), he might be willing to make the change now that it's been brought up.
Possibly. Is including PAM a positive step toward opening such doors?
Maybe. I work for a telecom which has traditionally used CentOS for everything. The introduction of certain new components with CentOS 7 causes Operations no end of headaches, and its management has been sporadically casting about for a better-behaved alternative.
I've put the idea of Slackware in the Ops manager's ear, and he was intrigued (particularly by Slackware's long support cycles) but he's still undecided. One thing Slackware couldn't do out-of-the-box that CentOS can is ActiveDirectory auth integration (which we do use here -- I think it's dumb, but nobody asked me), and I've put off pushing Slackware harder until it had this capability.
Telecom infrastructure is quirky. We use a lot of obscure devices and unusual configurations, so OS-level flexibility is a must. CentOS 7 brought with it a significant loss of flexibility, but Slackware is far more flexible than CentOS ever was, so it seems like it should be a good fit.
There's a learning curve to be overcome, and some packages to port, but the same would be true of other alternatives too. Now that Slackware supports AD integration, I think I'll have a stronger argument for Slackware 15.0 as a migration path.
I think it should be obvious by now that Eric has no desire to tell users how to use KDE/Plasma5 (considering he reverted KDE's prevention of running dolphin and kate as root), but your original post seemed to imply that this was done purpose and not some oversight.
In two Plasma5 packages, I reverted changes made by developers who thought they could decide for the users about how root should be used.
Sure, I want to be able to run programs as root in my graphical desktop which I am running as a regular user. On the other hand I consider it bad practice if someone logs on as root, directly into the graphical desktop. I will however not try to prevent anyone from doing so. It's OK if you want to practice badness, as long as you don't bother me with the fallout.
Logging on as root into Plasma5 using SDDM is not something I blocked. It is a PAM configuration which has not been fleshed out. SDDM ships with PAM configuration files that target Arch Linux and they did not work for Slackware, so I wrote mu own. Perhaps I missed something.
If anyone contributes a patch or instructions on how to change the PAM configuration so that root can login through SDDM, I will add that. But I don't feel the desire to spend time to research this myself. You want this? You tell me how to configure it correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.