Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-03-2011, 01:04 AM   #1
Registered: Feb 2007
Location: Paris
Distribution: Slackware 13.1
Posts: 32

Rep: Reputation: 0
Error msg when trying to use KUser

Slack 13.1 This is what I get when I go to KUser. Error opening /etc/shadow for reading. Can't save group settings.
Old 04-03-2011, 01:31 AM   #2
Richard Cranium
Senior Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,313

Rep: Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666Reputation: 1666
Unless you are root when you run KUser, you won't able to change /etc/shadow. Or /etc/passwd. Or /etc/group

$ ls -l /etc/shadow*
-rw-r----- 1 root shadow 760 2011-02-26 01:43 /etc/shadow
-rw------- 1 root root   821 2011-02-25 22:06 /etc/shadow-
Old 04-03-2011, 08:24 PM   #3
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 900
Blog Entries: 9

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
More specifically: If you run "kuser" from the system menu in KDE, you will be asked for the root password. If you run "kuser" from XFCE (or another WM and/or DE) you will get the error opening /etc/shadow for reading. In KDE, kdesu is used to ask for authentication; however, another DE or WM (such as Xfce) doen't know about kdesu. A workaround, to use KDE system apps in Xfce, is to change kuser.desktop to use kdesu:
Exec=kdesu kuser %i -caption "%c"
or you can just run "kdesu kuser" from the command line (using "su -c" doesn't work).

Now, if you are using KDE, and you get the same message, then you did something to corrupt your KDE installation. I have 3 clean slackware-current installations running either in a VM, or natively, and no special effort is needed when running kuser.
1 members found this post helpful.
Old 05-26-2017, 08:57 AM   #4
Registered: Mar 2010
Distribution: Debian Jessie/Xfce4
Posts: 46

Rep: Reputation: 0
Hi there, I have read your answer about using kuser with other than kde like Xfce. I am running on Xfce, but what you have suggested doesn't work. In "/usr/share/applications/kde4/kuser.desktop" the line you have proposed is already set, but always I get the error message.
I don't know if Xfce have worked around this issue, but that is.
Old 05-26-2017, 09:08 AM   #5
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64- on Lenovo Thinkpad W520
Posts: 8,877

Rep: Reputation: Disabled
  1. Here typing from another WM "kdesu kuser" works
  2. But this is on a Slackware derivative. This maybe does not apply to Debian (I really do not know)
  3. This thread is 6 years old. Better open a new thread, preferably in the Debian forum if you still use Debian.
Good luck, anyway.

Last edited by Didier Spaier; 05-26-2017 at 09:29 AM.


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
I cannot boot up ubuntu..i get a weird msg(pic of the msg included) please help :( debz480 Linux - Newbie 3 09-12-2010 12:45 AM
error msg while compiling kernel 'grubby fatal error no suitable templates found' suj Linux - Server 1 08-12-2010 09:33 PM
Sound Error FC2 2.6.5 error msg inside xemous Linux - Hardware 0 06-19-2004 10:15 PM
slooze error: validateInputs(); $msg = $mySlooze->renderPage($vars); echo $msg; ?> rioguia Linux - Software 0 01-26-2003 08:59 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 PM.

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