LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 11:37 PM   #136
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
mate slackbuilds from slackware.uk works, but do not install cinnameon slackbuilds from slackware.uk


Yep, whatever you do - do not install csb(Cinnamon) from slackware.uk , it breaks --Current Slackware with PAM. Mate Slackbuild however works.
Click image for larger version

Name:	VirtualBox_Slackware_20_05_2020_23_36_04.png
Views:	64
Size:	65.0 KB
ID:	33238
 
Old 05-21-2020, 12:11 AM   #137
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hmmmm..... just updated -current with the PAM changes after reading:

Quote:
[...] these changes should be completely transparent and you shouldn't
notice any obvious operational differences.
Everything works as before so I have now returned to my normal computing pursuits....

 
1 members found this post helpful.
Old 05-21-2020, 12:48 AM   #138
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by Jeebizz View Post
Yep, whatever you do - do not install csb(Cinnamon) from slackware.uk , it breaks --Current Slackware with PAM. Mate Slackbuild however works.
Did you remove PAM, Cracklib from CSB and forgot to reinstall the packages from Slackware?
it works fine here on my vm
 
2 members found this post helpful.
Old 05-21-2020, 12:55 AM   #139
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by willysr View Post
Did you remove PAM, Cracklib from CSB and forgot to reinstall the packages from Slackware?
it works fine here on my vm
Probably, yes most likely. I just installed whatever packages were in CSB, so either way I guess I am still retarded .
 
Old 05-21-2020, 01:06 AM   #140
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
let me try to start a fresh VM and build fresh packages from it and upload it.

but i'm pretty sure it's not related to CSB as Cinnamon isn't yet loaded up and you failed to login at prompt.

Last edited by willysr; 05-21-2020 at 01:11 AM.
 
1 members found this post helpful.
Old 05-21-2020, 01:31 AM   #141
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
With regards to dovecot, I've gone through the config changes in the latest dovecot update... Am I right to presume that only the changes in "auth-system.conf.ext" are required to PAM-ify it? Specifically it seems driver = pam was added, and some passdb and shadow lines are commented out now.

I've upgraded and only replaced auth-system.config.ext and everything seems fine, but just want to make sure I'm not missing anything else that is important.
 
Old 05-21-2020, 02:38 AM   #142
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 611

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by avian View Post
With regards to dovecot, I've gone through the config changes in the latest dovecot update... Am I right to presume that only the changes in "auth-system.conf.ext" are required to PAM-ify it? Specifically it seems driver = pam was added, and some passdb and shadow lines are commented out now.

I've upgraded and only replaced auth-system.config.ext and everything seems fine, but just want to make sure I'm not missing anything else that is important.
The default setting in the "auth-system.config.ext" file is OK but if you want to make more changes you can find it here:
https://doc.dovecot.org/configuratio...ntication/pam/
 
Old 05-21-2020, 02:55 AM   #143
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by willysr View Post
let me try to start a fresh VM and build fresh packages from it and upload it.

but i'm pretty sure it's not related to CSB as Cinnamon isn't yet loaded up and you failed to login at prompt.
Pushed a new set of binaries compiled against latest update in -current per today's update.
 
2 members found this post helpful.
Old 05-21-2020, 12:01 PM   #144
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by willysr View Post
Did you remove PAM, Cracklib from CSB and forgot to reinstall the packages from Slackware?
it works fine here on my vm
Well ok to clarify, I just installed all the packages from csb, I didn't do anything different - did not remove cracklib or things like that sorry for that confusion. All I know is when I finished installing CSB it broke the system .



Quote:
Originally Posted by willysr View Post
Pushed a new set of binaries compiled against latest update in -current per today's update.
So I am curious were you able to replicate my issue by installing all CSB as is?
 
Old 05-21-2020, 12:13 PM   #145
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by Jeebizz View Post
So I am curious were you able to replicate my issue by installing all CSB as is?
No, it worked fine here as i said
 
Old 05-21-2020, 12:24 PM   #146
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Originally Posted by willysr View Post
No, it worked fine here as i said
Weird, I do not know then..... Maybe MATE and CSB conflict. Try installing both , if still nothing happens then I have no idea what the issue could be.
 
Old 05-21-2020, 03:52 PM   #147
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
@rkelsen

Quote:
Now that we have PAM, we can use solutions which work on other distros.

In case you're still here... does this work for you guys:
https://www.youtube.com/watch?v=ILckBH5JsrI

I haven't tried it, so I don't know if it's what you're looking for, but hopefully it's not too little too late.
It didn't work, but I sure thank you for the effort. I'm not sure, but I think that plasma-workspace needs to be rebuilt for support of this. But I'm afraid that support would also allow configuring an autologin for root. I understand why AlienBob would not support this, and that's not what I want. I'm just getting old and lazy. Typing a freaking password is not THAT big a deal........
 
1 members found this post helpful.
Old 05-21-2020, 05:12 PM   #148
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
@mlangdn

Looking into how other distros (Arch, debian) dealt with autologin and sddm (KDE5), I could suggest the following modifications to make KDE5 autologin work on Current.
Be aware that I'm only just starting to understand PAM. So try at your own risk.

As root, do the following changes:

Change Autologin section in /etc/sddm.conf
Code:
[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=plasma.desktop

# Username for autologin session
User=<your username>
Create file /etc/pam.d/sddm-autologin with content:
Code:
#%PAM-1.0
auth        required    pam_env.so
auth        required    pam_tally2.so file=/var/log/tallylog onerr=succeed
auth        required    pam_shells.so
auth        required    pam_nologin.so
auth        required    pam_permit.so
-auth       optional    pam_gnome_keyring.so
-auth       optional    pam_kwallet5.so
account     include     system-auth
password    include     system-auth
session     include     system-auth
-session    optional    pam_gnome_keyring.so auto_start
-session    optional    pam_kwallet5.so auto_start
Reboot your system and hope for the best.
 
1 members found this post helpful.
Old 05-21-2020, 05:51 PM   #149
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by denydias View Post
Over and out.
Nervous head twitch.

I used to be a signal officer in the US Army. If I remember correctly, NATO countries also used the same standard.

Over means that you are done speaking and expect a reply from the distant station.
Out means that you are done speaking and do not expect a reply from the distant station.

There's no reason to use both.

Hell, I still twitch a bit when I listen to https://www.youtube.com/watch?v=9VcT...rBGeCvrLdJh94f (A link to the Sneaker Pimps song Tesko Suicide, in case you don't want to give traffic to YouTube.)
 
2 members found this post helpful.
Old 05-21-2020, 10:22 PM   #150
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
@gegechris99

There is no Autologin section in /etc/sddm.conf
In /etc/sddm.conf.d there is a file called kde_settings.conf with an Autologin section. I changed that to reflect the above changes. I tried adding that section to sddm.conf but no go.

There is an /etc/pam.d/sddm-autologin with nearly the same entries as what you have. I have made these changes while making sure that I keep the originals. In every case, I end up at a blank screen with mouse and cursor visible for over 10 minutes before I do a hard reboot. I'm gonna keep trying - something is missing..... I hate not being able to figure this out. I ain't giving up yet.
 
1 members found this post helpful.
  


Reply



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 06:52 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