[opensuse-factory] Getting errors "Root privileges are required" and "su returned with an error"
This is after an upgrade to Factory from openSUSE 10.3. In addition, the 'sux' command is no longer found. When trying to update, for example, I never get prompted for the root password and updating fails with "Root privileges are required" and "su returned with an error". What changed and how can I get the old update behavior back? Perhaps a 'sudo' issue? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hello,
This is after an upgrade to Factory from openSUSE 10.3.
This kind of update is not supported, and being factory under development, you should expect breakage :-)
In addition, the 'sux' command is no longer found. When trying to update, for example, I never get prompted for the root password and updating fails with "Root privileges are required" and "su returned with an error".
What changed and how can I get the old update behavior back? Perhaps a 'sudo' issue?
OpenSUSE 11.0 will implement PolicyKit to manage users rights. I guess your problem is due to some wrongly updated setting during the update from 10.3 to 11.0. With kind regards, Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sun, Apr 27, 2008 at 10:32 PM, Alberto Passalacqua
Hello,
This is after an upgrade to Factory from openSUSE 10.3.
This kind of update is not supported, and being factory under development, you should expect breakage :-)
In addition, the 'sux' command is no longer found. When trying to update, for example, I never get prompted for the root password and updating fails with "Root privileges are required" and "su returned with an error".
What changed and how can I get the old update behavior back? Perhaps a 'sudo' issue?
OpenSUSE 11.0 will implement PolicyKit to manage users rights. I guess your problem is due to some wrongly updated setting during the update from 10.3 to 11.0.
With kind regards, Alberto
Perhaps someone has a work-around/fix for this?? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-04-27 at 21:23 -0400, Doctor Who wrote:
This is after an upgrade to Factory from openSUSE 10.3.
Upgrading "stable" to "factory" is risky, unless you are doing a sacrifice for science and report bugs ;-)
In addition, the 'sux' command is no longer found.
The 'sux' command was dropped long ago: you can simply use "su" with the same functionality. Or you can recreate the link: lrwxrwxrwx 1 root root 7 2007-11-03 03:01 /usr/bin/sux -> /bin/su*
When trying to update, for example, I never get prompted for the root password and updating fails with "Root privileges are required" and "su returned with an error".
What changed and how can I get the old update behavior back? Perhaps a 'sudo' issue?
I don't know about that. But you could open an xterm, do "su -" (not su), and then, run "yast &" or "yast2 &". - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIFapZtTMYHG2NR9URAlU0AJ9ZJ4P0YCKuKASvMMmbt8QWSyaLcACfQqla ey21S7U/9ioaCiNoPqSk0JY= =4W0h -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, Apr 28, 2008 at 6:43 AM, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Sunday 2008-04-27 at 21:23 -0400, Doctor Who wrote:
This is after an upgrade to Factory from openSUSE 10.3.
Upgrading "stable" to "factory" is risky, unless you are doing a sacrifice for science and report bugs ;-)
In addition, the 'sux' command is no longer found.
The 'sux' command was dropped long ago: you can simply use "su" with the same functionality. Or you can recreate the link:
lrwxrwxrwx 1 root root 7 2007-11-03 03:01 /usr/bin/sux -> /bin/su*
When trying to update, for example, I never get prompted for the root password and updating fails with "Root privileges are required" and "su returned with an error".
What changed and how can I get the old update behavior back? Perhaps a 'sudo' issue?
I don't know about that. But you could open an xterm, do "su -" (not su), and then, run "yast &" or "yast2 &".
Well, right now I cannot even do simple things like change the clock on the system because of the apparent permissions error. I can get openSUSE updater to show me all available updates, but i cannot update either because of this issue. I would really just like to find out how I might be able to do these tasks again. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Doctor Who wrote:
Well, right now I cannot even do simple things like change the clock on the system because of the apparent permissions error. I can get openSUSE updater to show me all available updates, but i cannot update either because of this issue.
I have the same problem with (almost?) everything that needs root privs in KDE, I get "su returned with an error" instead of the usual window for entering the root password. Same if I go to "execute" in the KDE menu and try launching anything via kdesu. I've been following Factory with frequent updates and this has been happening for some time now. I thought it might be a general failure that would be fixed soon, but it seems to persist atm. BTW, I just wondered if having both KDE3 and KDE4 installed might be the problem, but "which kdesu" from a console tells me it uses the KDE3 one, which should be correct (I'm running KDE3 here until KDE4 is mature enough to deal with me). Robert Kaiser --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Robert Kaiser wrote:
Doctor Who wrote:
Well, right now I cannot even do simple things like change the clock on the system because of the apparent permissions error. I can get openSUSE updater to show me all available updates, but i cannot update either because of this issue.
I have the same problem with (almost?) everything that needs root privs in KDE, I get "su returned with an error" instead of the usual window for entering the root password. Same if I go to "execute" in the KDE menu and try launching anything via kdesu. I've been following Factory with frequent updates and this has been happening for some time now. I thought it might be a general failure that would be fixed soon, but it seems to persist atm. BTW, I just wondered if having both KDE3 and KDE4 installed might be the problem, but "which kdesu" from a console tells me it uses the KDE3 one, which should be correct (I'm running KDE3 here until KDE4 is mature enough to deal with me).
Robert Kaiser
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
I had the exact same problem a few months ago, after a kde3 factory update. I can vaguely remember uninstalling everything relating to sudo and then reinstalling, which I think solved the problem. If you search the opensuse list archives you should find the thread. Regards Dave P --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Dave Plater wrote:
Robert Kaiser wrote:
Doctor Who wrote:
Well, right now I cannot even do simple things like change the clock on the system because of the apparent permissions error. I can get openSUSE updater to show me all available updates, but i cannot update either because of this issue.
I have the same problem with (almost?) everything that needs root privs in KDE, I get "su returned with an error" instead of the usual window for entering the root password. Same if I go to "execute" in the KDE menu and try launching anything via kdesu. I've been following Factory with frequent updates and this has been happening for some time now. I thought it might be a general failure that would be fixed soon, but it seems to persist atm. BTW, I just wondered if having both KDE3 and KDE4 installed might be the problem, but "which kdesu" from a console tells me it uses the KDE3 one, which should be correct (I'm running KDE3 here until KDE4 is mature enough to deal with me).
Robert Kaiser
Found the message :- I force uninstalled sudo, deleted all trace of sudoers and then reinstalled. Only problem I have now is although kdesu works it gives a sorry panel saying "KDEInit could not launch 'kdesu'", so it's obviously trying to launch two instances. To force the uninstall I used rpm -e --nodeps sudothattouhaveinstalled.rpm because yast wanted to remove too many packages or something, my memory is foggy, then I removed all of the associated sudo files (see man sudo). After this simply reinstall either with zypper or rpm. su still works in console. The sorry panel problem remained until the next kde3 update. Hope this helps Regards Dave P --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Dave Plater wrote:
Found the message :- I force uninstalled sudo, deleted all trace of sudoers and then reinstalled. Only problem I have now is although kdesu works it gives a sorry panel saying "KDEInit could not launch 'kdesu'", so it's obviously trying to launch two instances.
Thanks for the pointer - I actually found the problem and fixed it without reinstall: /etc/sudoers had some linebreaks in the middle of comments and such, which made the file syntactically illegal. Once I fixed that, everything started working beautifully again. Robert Kaiser --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 4/28/08, Dave Plater
Robert Kaiser wrote:
Doctor Who wrote:
Well, right now I cannot even do simple things like change the clock on the system because of the apparent permissions error. I can get openSUSE updater to show me all available updates, but i cannot update either because of this issue.
I have the same problem with (almost?) everything that needs root privs in KDE, I get "su returned with an error" instead of the usual window for entering the root password. Same if I go to "execute" in the KDE menu and
I've been following Factory with frequent updates and this has been happening for some time now. I thought it might be a general failure that would be fixed soon, but it seems to persist atm. BTW, I just wondered if having both KDE3 and KDE4 installed might be the
Dave Plater wrote: try launching anything via kdesu. problem, but "which kdesu" from a console tells me it uses the KDE3 one, which should be correct (I'm running KDE3 here until KDE4 is mature enough to deal with me).
Robert Kaiser
Found the message :- I force uninstalled sudo, deleted all trace of sudoers and then reinstalled. Only problem I have now is although kdesu works it gives a sorry panel saying "KDEInit could not launch 'kdesu'", so it's obviously trying to launch two instances.
To force the uninstall I used rpm -e --nodeps sudothattouhaveinstalled.rpm because yast wanted to remove too many packages or something, my memory is foggy, then I removed all of the associated sudo files (see man sudo). After this simply reinstall either with zypper or rpm. su still works in console. The sorry panel problem remained until the next kde3 update. Hope this helps
Regards Dave P
Thanks...that appeared to do it for me. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Monday 28 April 2008 05:43:35 am Carlos E. R. wrote:
you could open an xterm, do "su -" (not su), and then, run "yast &" or "yast2 &".
First 'yast &' is useless as ncurses yast will run in background. Nothing much to see ;-) -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (6)
-
Alberto Passalacqua
-
Carlos E. R.
-
Dave Plater
-
Doctor Who
-
Rajko M.
-
Robert Kaiser