LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-13-2009, 04:55 PM   #1
mrukjames
LQ Newbie
 
Registered: Jan 2008
Posts: 26

Rep: Reputation: 15
Question Error KDE SU permission problem - Su returned with an error. Yaste and SU compromise.


Hi,

I am running Suse 10.3 using KDE.

I am unable to access Yast and cannot login as Root/SU.
It returns the following message:

"Permissions on the password database may be too restrictive.
su: incorrect password"

After a Google search and reading forums- all the remedies involve login in as Super User first. But how can I attempt login or change permissions if I can not log in as Super User?

I even tried re-installing but it did not correct the system or allow me to manage users/passwords etc. What can I do? Please help.

I thank you in advance for your wonderful support,

Kind Regards,
James
 
Old 06-13-2009, 05:58 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If it's a local machine boot into runlevel 1 to fix perms with 'chmod 0644 /etc/passwd; chmod 0400 /etc/shadow' or else run a Live CD?
 
Old 06-15-2009, 05:22 PM   #3
mrukjames
LQ Newbie
 
Registered: Jan 2008
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

I thank you so much for your advice!

I am a novice to Linux so I was very happy to learn how to go into run level 1.

I logged in as root successfully and did the following actions:

chmod 0644 /etc/passwd
chmod 0400 /etc/shadow

I also went into /opt/kde3/share/config/kdeglobals and added to the end of the file:

[super-user-command]
super-user-command=su

But unfortunately I still have the same problem- nothing has changed.
I appreciate any further suggestions or advice

Once again, thank you for your kind support, as this gives me a great opportunity for learning Linux!

Thanks,
James
 
Old 06-15-2009, 07:01 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You may have inadvertedly set permissions through Yast to "paranoid"? If that's the case you might try reverting permissions to a lower setting (try "easy" ;-p) entering runlevel 1 again and then running 'yast'. This commandline version should allow you to "undo" your actions. Else try 'chkstat -set /etc/permissions.easy' but please have a look at Understand SuSEconfig (PDF, SLES 9), the "Objective 2 Understand SuSEconfig" part and on first or look up the equivalent in http://www.novell.com/documentation/opensuse103/ .
 
  


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
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
SOLVED: Upgrade error: Sub-process /usr/bin/dpkg returned an error code (1) jlb0057 Debian 3 03-11-2011 08:37 AM
pthread_create returned an error. 12 12 davebwithane Linux - Software 6 09-29-2009 01:44 AM
write permission error and KDE not loading RonnyZenn Linux - Newbie 1 11-05-2004 04:40 PM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:19 PM.

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