Mailinglist Archive: opensuse-factory (439 mails)

< Previous Next >
[opensuse-factory] Re: Re: Running YaST-Control-Center without root
On Thu, 2019-04-25 at 21:22 +0200, Carlos E. R. wrote:
On 25/04/2019 10.19, Ancor Gonzalez Sosa wrote:
Just a note here. In some cases, asking the password only at the
(when writing configuration) would make sense. But in general is
that simple. YaST is an interactive tool and, as such, it performs
several tasks that would need root permission in several points of
user interaction. E.g. installing some package that is required to
continue, reading some protected configuration, adjusting the
to be able to explore the network, starting or stopping a service,
refreshing the list of repos...

Being able to fire up YaST and do some configuration work, then at
end see it asking for the root password could be nasty surprise if
user doesn't have it. After all the work, not being able to
At least he should get told at the start that to save changes he
the root password.

This can possibly be done by an info box when a particular module
starts up, I guess, though I can't imagine how any user would simply
assume that they would be able to apply changes to root
configuration/filesystem without requiring some kind of privilege

Actually, I wouldn't even mind requiring root privileges for some YaST
modules from the moment they are launched (like firewall, as Ancor has
pointed out). This would be nonetheless many times better than having
to key in root password for simply looking at installed/available
packages, configured repositories, network proxy settings, and/or
network IP address (when using wicked), all of which can be done
without root access from the terminal anyway (e.g. using `zypper` and
`ip` as non-root user). In openSUSE, the answer to a user's question
about looking up installed packages via a GUI interface is "not unless
you are root". It shouldn't have to be.

Atri Bhattacharya
Fri 26 Apr 02:42:43 CEST 2019

Sent from openSUSE Tumbleweed 20190420 on my laptop.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >