[Bug 276478] New: YaST privilege checking inconsistent
https://bugzilla.novell.com/show_bug.cgi?id=276478 Summary: YaST privilege checking inconsistent Product: openSUSE 10.3 Version: Alpha 4 Platform: x86 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com In openSuSE 10.3 alpha4 when I issue /sbin/yast2 from a terminal as nonroot user, a message box advises me, that yast2 is not run as root and that only modules not requiring root privileges are to be seen. When issuing /sbin/yast2 network, I am presented with the Network Configuration dialogue. Clicking any of the offered choices, i.e. "Network Card" then presents the "Network Settings" dialogue. While it doesn't seem to be possible to change any settings that way, it still may cause some confusion. Doing the same with sw_single results in a message box "Root Privileges Needed This module must be run as root. If you continue now, the module may not function properly.... " This seems somewhat more appropriate, although it is questionable why I am offered the choice to continue, when the result will not be correct. The correct handling in both ( and other possible modules ) would be a hint towards root privileges and termination. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 ------- Comment #1 from casualprogrammer@yahoo.com 2007-05-20 07:57 MST ------- Created an attachment (id=141175) --> (https://bugzilla.novell.com/attachment.cgi?id=141175&action=view) Screenshot of message box for /sbin/yast2 sw_single -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lslezak@novell.com |screening@forge.provo.novell| |.com | Severity|Normal |Minor -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 lslezak@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lslezak@novell.com |mzugec@novell.com ------- Comment #2 from lslezak@novell.com 2007-05-23 03:28 MST ------- As a non-root user you can check the current configuration in most yast modules. Reassigned to the network module maintainer... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 ------- Comment #4 from casualprogrammer@yahoo.com 2007-05-23 06:04 MST ------- Then this is even more inconsistent as I anticipated, as starting YaST via GUI, not CLI, always challenges you with the root password. If the root password is not supplied, YaST simply terminates instead of, as you suggest, just showing you the current settings. Also the settings you get to see as "user" differ from the ones you see as "root". i.e. /sbin/yast2 network as root shows the WLAN configuration, while doing it as user the WLAN is shown as not configured. Attempting to configure it is not prohibited, only when trying to save the settings, writing to /etc/sysconfig/SuSEFirewall fails. So, not only for unexperienced users, here is a high potential for irritation / frustration. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 ------- Comment #5 from casualprogrammer@yahoo.com 2007-05-26 04:05 MST ------- Another neat example is doing yast2 repair as user: /sbin/yast2 repair yields a message box stating: "Error No hard disks were found. Check your hardware." Pressing OK ( the only option ) aborts the operation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 ------- Comment #6 from casualprogrammer@yahoo.com 2007-05-26 04:06 MST ------- Created an attachment (id=142419) --> (https://bugzilla.novell.com/attachment.cgi?id=142419&action=view) Screenshot of Message Box "No hard disk" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=276478 mzugec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #7 from mzugec@novell.com 2007-05-29 04:58 MST ------- fixed in 2.15.37 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com