Web lists-archives.com

Re: Running GParted and Synaptic without entering password

On Sun, 13 May 2018 14:43:55 -0500
Richard Owlett <rowlett@xxxxxxxxxxx> wrote:

> Is "sudo" and cousins an appropriate tool?

I would have said so. In order to make changes to a computer, both
GParted and Synaptic (and aptitude, apt-get etc.) *require* root
privileges. There's no way around that. The point about users running
without root privileges is explicitly to make them unable to make the
kind of changes to a computer that GParted and Synaptic do.

Both GParted and Synaptic are inherently graphical programs, requiring
the use of X, therefore their use in anger requires a mixture of root
and X. Anyone who doesn't like that idea is completely free to use
parted and aptitude.

If your micro-installation contains them, gksu and gksudo are graphical
equivalents of su and sudo. I start Synaptic from a menu entry, which
uses gksudo. It requires my password, because like the vast majority of
computers, all mine are usually connected to a network with Internet
access. If you want to use your computers in a different way from
almost everybody else, you must expect to do a certain amount of your
own trailblazing.