LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-11-2005, 03:05 PM   #16
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30

Quote:
Originally posted by Tinkster
No idea ... Volker doesn't use PAM at all (too nasty
a history of exploits and security holes) ... it has been
introduced to your box by dropline.

See whether other dropline users with slack-current
have advice for you... mine would be to get rid of
Gnome and use slacks default packages.


Cheers,
Tink
Will do later.

It's kinda funny because the dropline-gnome update feature (the one on the desktop) accepts the 'root password'. But when I use any other utility like 'network configuration' or even 'su' it give me a message saying that it's the incorrect password.
 
Old 05-12-2005, 09:20 AM   #17
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by houler
It's kinda funny because it was working. Then all of a sudden it just stopped (couldn't escalate priveleges). Maybe I did something and forgot what I did? heh ah well, I might just do a clean install later to fix this issue.

Memo to myself "Document everything significant that you do on your personal system, which includes editing System startup files, config files, etc."
Very bizarre. This should not be happening. I think slapt-get is a great tool, but "upgrades" on Slackware can be a bit unpredictable sometimes. That's why we ask that Dropline users stick to fresh 10.1 installs. 99% of our bug reports come from slapt-get users and are typically those who have updated to Slackware-Current (w.g. the unstable version of Slackware). We only test Dropline on Slackware 10.1 - e.g., the current stable release, and we don't test "upgrades" because they are not the same as fresh installs (there is always some leftover crud from old packages).

You may have some luck by reinstalling:

coreutils-5.2.1-i486-1
cracklib-2.8.2-i686-1dl
shadow-4.0.3-i686-9dl
pam-0.79-i686-2dl

preferably in that order. You can use "upgradepkg --reinstall" on each package.

Be very careful. These are low-level libraries and you can completely break your machine if you don't use caution.
 
Old 05-12-2005, 09:26 AM   #18
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by houler
Will do later.

It's kinda funny because the dropline-gnome update feature (the one on the desktop) accepts the 'root password'. But when I use any other utility like 'network configuration' or even 'su' it give me a message saying that it's the incorrect password.
Some things, like the dropline-installer, prompt for a root password by means of consolehelper (which utilizes PAM).

If it's just "su", it could be mucked up settings in /etc/pam.d. Check that a valid pam configuration exists for "su".


Code:
zborgerd@escudo:~$ cat /etc/pam.d/su
#%PAM-1.0

auth       sufficient   /lib/security/pam_rootok.so

# If you want to restrict users begin allowed to su even more,
# create /etc/security/suauth.allow (or to that matter) that is only
# writable by root, and add users that are allowed to su to that
# file, one per line.
#auth       required     /lib/security/pam_listfile.so item=ruser sense=allow onerr=fail file=/etc/security/suauth.allow

# Uncomment this to allow users in the wheel group to su without
# entering a passwd.
#auth       sufficient   /lib/security/pam_wheel.so use_uid trust

# Alternatively to above, you can implement a list of users that do
# not need to supply a passwd with a list.
#auth       sufficient   /lib/security/pam_listfile.so item=ruser sense=allow onerr=fail file=/etc/security/suauth.nopass

# Comment this to allow any user, even those not in the 'wheel'
# group to su
#auth       required     /lib/security/pam_wheel.so use_uid

auth       required     /lib/security/pam_stack.so service=system-auth

account    required     /lib/security/pam_stack.so service=system-auth

password   required     /lib/security/pam_stack.so service=system-auth

session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_xauth.so
 
Old 05-12-2005, 09:32 AM   #19
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by Tinkster
No idea ... Volker doesn't use PAM at all (too nasty
a history of exploits and security holes) ... it has been
introduced to your box by dropline.

See whether other dropline users with slack-current
have advice for you... mine would be to get rid of
Gnome and use slacks default packages.


Cheers,
Tink
Not to get off-topic, but this is bogus. PAM's history of "exploits" are from third-party modules, and these "exploits" are several years old. This is honestly a better track record than several other things Volkerding includes; Sendmail, Firefox, etc.

http://dlgwiki.dot42.org/index.php/F...ed%20Questions
 
Old 05-12-2005, 02:49 PM   #20
houler
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by zborgerd
Very bizarre. This should not be happening. I think slapt-get is a great tool, but "upgrades" on Slackware can be a bit unpredictable sometimes. That's why we ask that Dropline users stick to fresh 10.1 installs. 99% of our bug reports come from slapt-get users and are typically those who have updated to Slackware-Current (w.g. the unstable version of Slackware). We only test Dropline on Slackware 10.1 - e.g., the current stable release, and we don't test "upgrades" because they are not the same as fresh installs (there is always some leftover crud from old packages).

You may have some luck by reinstalling:

coreutils-5.2.1-i486-1
cracklib-2.8.2-i686-1dl
shadow-4.0.3-i686-9dl
pam-0.79-i686-2dl

preferably in that order. You can use "upgradepkg --reinstall" on each package.

Be very careful. These are low-level libraries and you can completely break your machine if you don't use caution.
Holy smokes! it works after I followed your idea. Thank you very much sir.

I can finally su from normal accounts and also use administration utilities and I didn't have to reinstall slack 10.1.

Thanks again, zborgerd.
 
Old 05-12-2005, 05:11 PM   #21
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Quote:
Originally posted by houler
Holy smokes! it works after I followed your idea. Thank you very much sir.

I can finally su from normal accounts and also use administration utilities and I didn't have to reinstall slack 10.1.

Thanks again, zborgerd.
Certainly. I'm glad it's working for you. I'm not sure why things got messed up (this is the first time I've seen this, and I've been using Dropline since 2002), but feel free to stop by the forums at dropline.net if you need anything else. Due to the nature of its configurability, any number of things can change something on Slackware. There is almost always a fix though, and there are a lot of great people in the Dropline forums that can usually solve just about anything.
 
Old 06-08-2005, 04:40 PM   #22
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Quote:
Originally posted by zborgerd

You may have some luck by reinstalling:

coreutils-5.2.1-i486-1
cracklib-2.8.2-i686-1dl
shadow-4.0.3-i686-9dl
pam-0.79-i686-2dl

preferably in that order. You can use "upgradepkg --reinstall" on each package.

Be very careful. These are low-level libraries and you can completely break your machine if you don't use caution.
Thanks a lot for this advice. I had the "su: Unknown module" problem after I installed a stock Linux Pam when I was building Enlightenment. It goofed up the vestiges of Dropline -- including Pam -- that remained on my system from a time experimenting with Dropline a few months ago.

I found the four packages you mentioned and reinstalled them and now "su" works again.
 
  


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
dialup authentication failure raypuddy Linux - General 8 05-22-2005 05:00 PM
I cant su anymore (authentication failure) Mr.Ampersand() Linux - Newbie 4 03-22-2005 08:29 AM
UT2004 Authentication failure darkaudti Linux - Games 9 08-31-2004 04:31 PM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM
MNF authentication failure outburst Linux - Security 1 12-18-2003 10:53 AM

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

All times are GMT -5. The time now is 12:27 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