LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-20-2020, 06:52 AM   #106
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,085

Rep: Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885

Quote:
Originally Posted by LuckyCyborg View Post
Locking me away from the highest privileged level is certainly not for my own benefit, but a limitation of my rights as computer owner.
Your rights are in no way limited if you can not use SDDM to login as root. Start in runlevel 3 and use 'startx' or else use SDDM to login as regular user and run "sudo -i" in a Konsole to gain root power. The fact that you prefer a security-impaired Way of Working does not mean that I have to support that and also the available choices are not limiting what you can do.

Quote:
Sorry, probably is just a cultural conflict, but as someone born, raised as Russian and living his entire life in the Russian Federation, I cannot appreciate that enforcing of my rights limitation on something which is my own property: my own computer.

Also, I cannot help to not remember that the Schutzstaffel (SS troops) was formed exclusively from (unpaid) volunteers...

Being a volunteer does not make you automatically right in everything you truly think is right and specially does not gives you the rights to enforce your own rules to others.
I am the volunteer here, providing all my packages - that you are using - for free, spending multiple hours per day to make your computer life more agreeable. I feel deeply offended by your comparison. You have disqualified yourself from any further interaction with this particular volunteer.
PLONK!
 
3 members found this post helpful.
Old 05-20-2020, 06:55 AM   #107
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,714

Rep: Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061Reputation: 2061
Quote:
Originally Posted by rkelsen View Post
I view it as arrogance to tell unpaid developers how they should write their software... especially when they're doing it that way for your own benefit.
It's always entertaining to have people tell you that you shouldn't be allowed to do something for your own benefit. I'm glad that you are so very familiar with how I think and what weights I give to various things.

I believe that we have a fundamental difference in opinion that won't be resolved.
 
1 members found this post helpful.
Old 05-20-2020, 07:06 AM   #108
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,433

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
I cannot appreciate that enforcing of my rights limitation on something which is my own property: my own computer.
  1. Some people advised you not to log in as root in a graphical environment. You stay free not to follow their advice.
  2. Some people are not willing to help you log in as root in a graphical environment. They are free not to help you doing that, as long as you didn't pay them for providing this help.
I fail to see how this limits rights of anyone on anything.

PS Generally speaking, if the developers of some software do not accept to modify its behavior to fill one of your requirements, you have several options:
  1. Find someone else willing to modify it.
  2. Modify it yourself.
  3. Use it as is despite this limitation.
  4. Use another one that does not have this limitation.

Last edited by Didier Spaier; 05-20-2020 at 08:53 AM.
 
3 members found this post helpful.
Old 05-20-2020, 07:36 AM   #109
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 189

Rep: Reputation: Disabled
OT seeing all that ramping rage over a so tech topic in a so small community makes me wonder were we have lost our empathy /OT
 
7 members found this post helpful.
Old 05-20-2020, 07:41 AM   #110
ZhaoLin1457
Member
 
Registered: Jan 2018
Posts: 443

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
People, cool down and if you really want to see little Big Brothers everywhere, be my guests to move to China!

There, apparently everyone knows better than you how you have to live, how you should eat, when you should sleep or even how you should program the future of your own family (if you remember our One Child politics) and, of course everybody knows better than you how you should use your own computer and what software or sites are good for you.

In the mean time, I would like to humbly ask Mr. Hameleers if the unprivileged users "autologin" feature from SDDM is still acceptable according with his personal views, and if he intends to repair it, considering that it now does not work anymore with his shipped config files.

Last edited by ZhaoLin1457; 05-20-2020 at 07:44 AM.
 
1 members found this post helpful.
Old 05-20-2020, 08:04 AM   #111
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 420

Rep: Reputation: 206Reputation: 206Reputation: 206
I haven't read most of this thread, but now may be a good time to brush up on one's programming skills.

I never complain about free software not doing what I want. Instead, I fix it.
Ed
 
4 members found this post helpful.
Old 05-20-2020, 08:52 AM   #112
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,085

Rep: Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885Reputation: 6885
Quote:
Originally Posted by ZhaoLin1457 View Post
People, cool down and if you really want to see little Big Brothers everywhere, be my guests to move to China!

There, apparently everyone knows better than you how you have to live, how you should eat, when you should sleep or even how you should program the future of your own family (if you remember our One Child politics) and, of course everybody knows better than you how you should use your own computer and what software or sites are good for you.

In the mean time, I would like to humbly ask Mr. Hameleers if the unprivileged users "autologin" feature from SDDM is still acceptable according with his personal views, and if he intends to repair it, considering that it now does not work anymore with his shipped config files.
Look, Slackware's PAM uses /etc/pam.d/login as a stack which includes system_auth but precedes login checks with the pam_securetty module and appends postlogin stack:

Code:
auth            required        pam_securetty.so
auth            include         system-auth
auth            include         postlogin
The Slackware postlogin PAM file does not have "auth" configuration lines so in its default state, it is not doing anything here. The pam_securetty module before system_auth causes root's authentication to fail even before processing the system-auth rules whenever the root account is not logging on from a secure terminal as listed in /etc/securetty . And SDDM is not considered a secure (local) tty.

The proposed sddm configuration files earlier in this thread do not use the 'login' stack and instead directly use 'system-auth' and 'postlogin'. I think that is a security risk so I am not going to change my PAM configuration for SDDM.
However if you think that your root account should not be limited in any way, the solution is easy: remove /etc/securetty file entirely. If you think that is too rigorous, then one step less secure is that you edit the SDDM configuration files for PAM yourself.
I am willing to listen to discussions here but eventually I am not the one who decides - Pat Volkerding always has the final word because this setup will eventually get added to the distro.
 
5 members found this post helpful.
Old 05-20-2020, 08:54 AM   #113
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD, Debian
Posts: 6,304

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549
I am very grateful that Eric is getting KDE-plasma ready for us. Many thanks, Sir.
 
2 members found this post helpful.
Old 05-20-2020, 09:20 AM   #114
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Rep: Reputation: Disabled
Hi,

I have a problem.


I did the current update, installed PAM, cracklib, libpwqality.

After restart, I have on the console

Login incorrect

Sommeone Will help?

I am able to boot through pxe and make minor changes ...

Last edited by Panther_; 05-20-2020 at 09:37 AM.
 
Old 05-20-2020, 10:04 AM   #115
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,802

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
have you updated 'shadow' ?
 
Old 05-20-2020, 10:21 AM   #116
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Rep: Reputation: Disabled
Yes, I have 4.8.1-i586-8


I hawe fresh current
 
Old 05-20-2020, 11:19 AM   #117
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,607

Rep: Reputation: 297Reputation: 297Reputation: 297
All I wanted was for my normal user, michael, to have autologin. This is my personal home computer that only I use. I'm done with this thread. No help here.
 
2 members found this post helpful.
Old 05-20-2020, 12:01 PM   #118
Pithium
Member
 
Registered: Jul 2014
Location: Vancouver, WA
Distribution: Slackware 14.2/current
Posts: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by kikinovak View Post
There seems to be some sort of Second Amendment popular among a vocal minority of Linux users, defending the Right To Login As Root In A GUI as well as the Right To Shoot Oneself In The Foot Big-Time.
How does the right to run a 'Well Regulated Militia' apply here? If you want to make this a Second Ammendment issue then you just lost the argument. If that's how we play it, then you must not infringe upon the user's right to log in via root. The software itself would allow for either path, and individuals would decide how to implement it.

Which is exactly how it is currently set up.

I checked the sourcecode, SDDM does not in any way prevent root from logging in. The root user is passed in the PAM API call just like any other user. How PAM is configured determines what is and is not possible.

Therefore, No users' rights or freedoms are being infringed. In addition, No extra effort on the part of the developer is needed.

Upstream (Federal gov) has provided distros (States) with the option of enabling this feature. Many distros have already disabled root logins through other means which makes this discussion moot for them. Some (such as slackware) that allow for more flexibility than is standard often allow users to make bad decisions.

The only problem I see here is an unwillingness for the online community to stick to the facts. Both sides are getting angry and abusive for no reason at all.

The discussion is moot. No rights have been infringed, no functionality has been taken away. As was mentioned in the changelogs it is possible that the PAM config needs some adjusting. So maybe, if you bothered to answer the question that was asked in a sincere and accurate manner, we wouldn't have to lower ourselves to this kind of arguing.
 
3 members found this post helpful.
Old 05-20-2020, 01:37 PM   #119
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,925

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
I am sure I missed something somewhere - so while playing with --Current now - opening up another console, I cannot get into root or my username - I just get permission denied,


Click image for larger version

Name:	VirtualBox_Slackware_20_05_2020_13_37_13.png
Views:	25
Size:	3.8 KB
ID:	33231


-edit

Even on the primary console, I can't even get to my created account:

Click image for larger version

Name:	VirtualBox_Slackware_20_05_2020_13_39_14.png
Views:	21
Size:	16.8 KB
ID:	33232

-edit2

And now I can't even get into root - at all on tty1 lol wtf.

-edit3

Welp.....

Click image for larger version

Name:	VirtualBox_Slackware_20_05_2020_13_45_19.png
Views:	24
Size:	22.7 KB
ID:	33233

Last edited by Jeebizz; 05-20-2020 at 01:46 PM.
 
Old 05-20-2020, 01:45 PM   #120
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD, Debian
Posts: 6,304

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549
There was a warning to run slackpkg install-new when you install Pam and the other updates.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a bug in dialog merged with Slackware64 current? duturo1953 Slackware 1 08-23-2017 02:26 PM
/etc/pam.d/system-auth-ac vs. /etc/pam.d/password-auth-ac vs. /etc/pam.d/sshd christr Red Hat 2 08-01-2014 07:08 PM
PAM module:passwd:- how many character validate by pam library amit_pansuria Linux - General 3 10-21-2008 01:19 AM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration