Skip to main content
  1. Home >
  2. Blog >
  3. Killing Android Apps on Sailfish

Killing Android Apps on Sailfish

·91 words·1 min
Author
Miska Hämäläinen
Specializing in Identity and Access Management, zero-trust security frameworks, and infrastructure automation. Building practical security solutions that teams actually use.
Table of Contents

Android apps on Sailfish OS run in the android container, which has its own PID namespace. A regular app can’t signal those processes and force-killing them requires root. Crest does this by running /usr/bin/harbour-crest as root, but it doesn’t come with sudo: you have to grant it a scoped NOPASSWD rule yourself.

Steps
#

Get a root shell.

devel-su

Then, as root, install sudo:

pkcon install sudo

visudo syntax-checks the file before saving, so a typo can’t break sudo:

visudo /etc/sudoers.d/01_defaultuser

Add the line, save, then verify:

%defaultuser ALL=(ALL:ALL) NOPASSWD: /usr/bin/harbour-crest