On Wed 26 Mar 2025 at 16:37:41 (-0000), Greg wrote:
> On 2025-03-26, Richard Owlett <rowl...@access.net> wrote:
> >
> > I assumed it was effectively the same as power down and then logging in 
> > as root on power-up.
> 
> It is. But it's unnecessary and dangerous to run your entire DE as root.
> Or maybe you log in to the console and use startx to run Mate?

  https://lists.debian.org/debian-user/2022/03/msg00301.html

might answer that.

> At any rate, I do follow the rule of those in the know here and su to
> root in an xterm when I require root privileges for a task. I've never
> found or understood the need to proceed otherwise. 

As posted earlier today, a file in sudoers.d/ makes trivial admin
tasks like monitoring and logging easier, particularly where the
programs concerned can cause damage if the wrong options are used.

Eg, [fg]disk -l for logging disks, sticks and cards,
udevadm control -R for reloading the udev rules,
systemctl restart minidlna.service after adding/removing files,
and not forgetting the introspective cat /etc/sudoers and
cat /etc/sudoers.d/my-own-drop-in.

(Obviously I don't make myself a member of the sudo group.)

Cheers,
David.

Reply via email to