LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2015, 12:33 PM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Can't "su", can't print, can't call cups's interface, can't update...


This is openSUSE 13.2, "uname -r" gives "3.16.7-21-desktop". General problem is that after the last general update root's password is not anymore accepted where and when needed, while I am logged in as normal user. I can log in as root, so it is not the wrong password. There come popups e.g. when calling yast, with the hint that maybe(!) the user should be member of the group "wheels". I added myself to "wheels" to no avail.

Upon calling the cups interface on 127.0.0.1:631 I get the main menu, but when I click on any item I get "404 - not found".

I'm completely out of my depth. Any ideas here?

Last edited by JZL240I-U; 07-26-2015 at 12:37 PM.
 
Old 07-26-2015, 04:55 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Try logging in as root and create a new user with admin privileges and then login as that user and try the stuff you was havingbproblems with again.
 
Old 07-27-2015, 01:29 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Ah, thanks, but that is not really a solution. I have all my stuff in my home directory and can access it with normal privileges. It is only when I try to enter root's password (e.g. for starting yast or a root-shell) that I get this "error". Your suggestion (as I understand it) would just create a second "root". The first one is already working okay when I log in as root-user...
 
Old 07-27-2015, 03:24 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
1. Can we see your configured repos?
Code:
zypper lr -d
2. Might be worth checking/verifying package consistencies as well...
Code:
zypper ve
3. It would be useful to follow Keith's advice, just to see if a new user account behaves properly. BTW, don't ever log in as root. (That can result in bad things happening with user access in a graphical desktop environment.)

4. Which DE are you using? If you change DE at the login, does the same behaviour exist?

If KDE, can you launch yast2 successfully with the following?
Code:
kdesu yast2
Does that behave any differently?

If Gnome, try 'gnomesu...'

Last edited by ferrari; 07-27-2015 at 03:25 AM.
 
Old 07-27-2015, 05:10 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by JZL240I-U View Post
Ah, thanks, but that is not really a solution. I have all my stuff in my home directory and can access it with normal privileges. It is only when I try to enter root's password (e.g. for starting yast or a root-shell) that I get this "error". Your suggestion (as I understand it) would just create a second "root". The first one is already working okay when I log in as root-user...
No I just meant create another normal user so that you can see if it's a problem with your users permission's, if using a new user allows you to use commands that you cant at the moment then you know that the problem is with your user files not the system, this is probably going to be a permissions problem or somthing has been misconfigured, but this trivial test will help narrow down the options the new user can of course be removed afterwards.
 
Old 07-27-2015, 05:12 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I see. I'll do it in the evening and answer both posters, thanks in the meantime.
 
Old 07-27-2015, 01:08 PM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
1. Can we see your configured repos?
Here they come:

Code:
zypper lr -d
#  | Alias                     | Name                               | Aktiviert | GPG-berprfung | Aktualisieren | Prioritt | Typ    | URI                                                             | Dienst
---+---------------------------+------------------------------------+-----------+-----------------+---------------+-----------+--------+-----------------------------------------------------------------+-------
 1 | ftp.gwdg.de-suse          | Packman Repository                 | Ja        | (r ) Ja         | Ja            |   90      | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/        |       
 2 | libdvdcss repository      | libdvdcss repository               | Ja        | ( p) Ja         | Ja            |   97      | rpm-md | http://opensuse-guide.org/repo/13.2/                            |       
 3 | openSUSE-13.2-0           | openSUSE-13.2-0                    | Nein      | ----            | Nein          |   99      | yast2  | hd:///?device=/dev/disk/by-id/scsi-1InnostorInnostor-part2      |       
 4 | repo-debug                | openSUSE-13.2-Debug                | Nein      | ----            | Nein          |   99      | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/  |       
 5 | repo-debug-update         | openSUSE-13.2-Update-Debug         | Nein      | ----            | Nein          |   99      | NONE   | http://download.opensuse.org/debug/update/13.2/                 |       
 6 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | Ja        | ( p) Ja         | Ja            |   99      | rpm-md | http://download.opensuse.org/debug/update/13.2-non-oss/         |       
 7 | repo-non-oss              | openSUSE-13.2-Non-Oss              | Ja        | ( p) Ja         | Ja            |   99      | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/    |       
 8 | repo-oss                  | openSUSE-13.2-Oss                  | Ja        | ( p) Ja         | Ja            |   99      | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/        |       
 9 | repo-source               | openSUSE-13.2-Source               | Nein      | ----            | Nein          |   99      | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |       
10 | repo-update               | openSUSE-13.2-Update               | Ja        | (r ) Ja         | Ja            |   99      | rpm-md | http://download.opensuse.org/update/13.2/                       |       
11 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | Ja        | ( p) Ja         | Ja            |   99      | rpm-md | http://download.opensuse.org/update/13.2-non-oss/               |
2. Might be worth checking/verifying package consistencies as well...
Code:
zypper ve
Repository 'Packman Repository' ist veraltet. Sie knnen 'zypper refresh' als root ausfhren, um es zu aktualisieren.
Repository 'openSUSE-13.2-Update' ist veraltet. Sie knnen 'zypper refresh' als root ausfhren, um es zu aktualisieren.
Daten des Repositories laden ...
Installierte Pakete lesen ...

Problem: appdata(firefox.appdata.xml), bentigt von application:Firefox-.noarch, wird von keinem Repository angeboten
Lsung 1: Deinstallation von application:Firefox-.noarch
Lsung 2: application:Firefox-.noarch beschdigen durch Ignorieren einiger Abhngigkeiten

Whlen Sie aus den obigen Lsungen mittels Nummer oder brechen Sie a(b). [1/2/b] (b):
I choose b) since I can't call zypper as root right now . Sorry for the german text, just two repositories have to be rerfreshed (usually done by yast here).

Quote:
Originally Posted by ferrari View Post
3. It would be useful to follow Keith's advice, just to see if a new user account behaves properly.
Will do, see below.

Quote:
Originally Posted by ferrari View Post
4. Which DE are you using? If you change DE at the login, does the same behaviour exist?
Urgs. Will try after posting this . <edit> Done. Same behaviour. </edit>

Quote:
Originally Posted by ferrari View Post
If KDE, can you launch yast2 successfully with the following?
Code:
kdesu yast2
Does that behave any differently?
No, root's password will not be accepted.

I'll test Gnome now (I hope, it is installed ). <edit> It is not. I used IceWM. To no avail. </edit>

Last edited by JZL240I-U; 07-27-2015 at 01:15 PM.
 
Old 07-27-2015, 01:28 PM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keith Hedger View Post
No I just meant create another normal user so that you can see if it's a problem with your users permission's, if using a new user allows you to use commands that you cant at the moment then you know that the problem is with your user files not the system...
Did it. User "test" failed dismally too , no root password accepted by any program like yast, su, kdesu...

But. This is a multi-boot system. So I booted into old SUSE 12.3 (nice girl) who uses the same home as the problematic 13.2 -- and everything worked as it should. So, to my fragmentary understanding this means the problem is somewhere within the 13.2 installation. Any ideas where?
 
Old 07-27-2015, 01:35 PM   #9
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Well at least you now now it's not a problem with your normal user, that's one variable eliminated.
 
Old 07-27-2015, 01:43 PM   #10
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,264
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
Quote:
Originally Posted by JZL240I-U View Post
So I booted into old SUSE 12.3 (nice girl) who uses the same home as the problematic 13.2 -- and everything worked as it should.
This is a big clue I think...

Differing versions of distro and applications sharing the same home can cause many ghostly problems due to mishandled or unrecognized user configs/cache.

That might make it not so much a problem with 13.2, but an incompatibility between versions due to shared user files.

This also means that system configs, groups, sudoers, etc. are potentially different for the different versions, even if uids and gids are same (are they).

I have shared home before with some success, but usually with more subtle difficulties than was worth - FWIW.

Last edited by astrogeek; 07-27-2015 at 01:55 PM.
 
1 members found this post helpful.
Old 07-28-2015, 01:23 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by astrogeek View Post
...Differing versions of distro and applications sharing the same home can cause many ghostly problems due to mishandled or unrecognized user configs/cache...That might make it not so much a problem with 13.2, but an incompatibility between versions due to shared user files.
I agree when it concerns different distros. With different versions of (open)SUSE I never had any hassle.

Quote:
Originally Posted by astrogeek View Post
...This also means that system configs, groups, sudoers, etc. are potentially different for the different versions, even if uids and gids are same (are they)...
Yes, uids and gids are the same. This setup worked since 13.2 was published and even before with the older versions. As far as I remember the problem cropped up after the last system update a few days ago.

Last edited by JZL240I-U; 07-28-2015 at 03:50 PM.
 
Old 07-28-2015, 04:02 AM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Have a read of this openSUSE thread as I think it may well be relevant to your situation. In particular, examine the following:
Code:
grep PERMISSION_SECURITY /etc/sysconfig/security
and
Code:
ls -l `which su` `which passwd`
For reference, I get
Code:
PERMISSION_SECURITY="easy local"
and
Code:
-rwsr-xr-x 1 root shadow 51200 Sep 28  2013 /usr/bin/passwd
-rwsr-xr-x 1 root root   31744 Jul  6 07:34 /usr/bin/su

Last edited by ferrari; 07-28-2015 at 04:09 AM.
 
Old 07-28-2015, 04:27 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Thanks for the link, ferrari. I'll try it tonight when I get home (in the hope that it will not bee that late) .
 
Old 07-28-2015, 04:18 PM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Code:
grep PERMISSION_SECURITY /etc/sysconfig/security
yields
Code:
PERMISSION_SECURITY="easy local"
but
Code:
ls -l `which su` `which passwd`
produces
Code:
-rwxr-xr-x 1 me users 51200 25. Sep 2014  /usr/bin/passwd
-rwxr-xr-x 1 me users 31808 13. Mr 13:33 /usr/bin/su
Uh, oh.

So, enter that link.

Code:
ls -l /etc/passwd /etc/shadow
-rw-r--r-- 1 root root   1898 27. Jul 20:21 /etc/passwd
-rw-r----- 1 root shadow 1098 27. Jul 20:21 /etc/shadow
So, all is well, here.

Let's then cure /usr/bin/passwd and /usr/bin/shadow by hand (I did not use chkstat) ... done. AND IT WORKS AGAIN (except for printing --> tomorrow. Good night).

Thanks, ferrari, solved.

Last edited by JZL240I-U; 07-28-2015 at 04:20 PM.
 
Old 07-28-2015, 05:23 PM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Glad to have been of help!
 
  


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
Print to CUPS server fails with "/usr/lib/cups/filter/foomatic-rip failed" Aule Linux - Newbie 6 09-27-2013 09:08 AM
Failure to print, Paused - "/usr/lib/cups/backend/hp failed" MadmanJack Linux - Newbie 3 04-15-2012 12:03 AM
[SOLVED] Firefox print does only shows lpr and "to file", not other printers configged in cups deadeyes Linux - Desktop 3 09-29-2009 09:33 AM
Access CUPS web interface "Administrative Tasks" ALInux Linux - Networking 2 05-24-2006 02:55 AM
Cups & gimp-print "No pages found!" Silent1 Linux - Hardware 2 01-17-2003 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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