dt.iki.fi
30.6.2025 linux, sailfish os

Sudo on Sailfish OS

  • It doesn’t take much space and no resources while it isn’t used.
  • It’s extremely convenient because it remembers your password for some time (configurable).
  • It’s more transparent than devel-su and handles environment changes better or at least in a more familiar way.

Use devel-su one last time for the following steps:

pkcon install sudo
visudo /etc/sudoers.d/01_defaultuser

And add the line

%defaultuser ALL=(ALL:ALL) ALL

[If you prefer to use nano for editing, set the EDITOR environment variable accordingly.]