Repository navigation
Permissions and Security
Ember runs as you. Changes that need more go through the service that owns them, which asks for your password itself:
| Action | Goes through |
|---|---|
| System services | systemd |
| Power profile, graphics mode, charge limit | system76-power |
| Wi-Fi, airplane mode | NetworkManager, rfkill |
| Bluetooth | BlueZ |
| Suspend, restart, shut down, keyboard light | logind |
| Uninstalling APT apps |
apt through pkexec
|
| CPU settings, fans, other users' processes | Ember's root helper |
/usr/libexec/ember/ember-helper is the only part of Ember that runs as root, and only through
pkexec after a password prompt. It accepts six fixed commands:
| Command | Arguments |
|---|---|
governor |
a governor your CPU lists as available |
max-perf |
10 to 100 |
turbo |
on or off
|
renice |
a process ID (not 0 or 1) and a priority from -20 to 19 |
signal |
a process ID (not 0 or 1) and TERM, KILL, STOP or CONT
|
pwm |
a fan's hwmonN, index 1 to 9, value 0 to 255 (only if that fan control exists) |
Every argument is checked before anything happens, file paths are built from fixed parts, and no shell is used. Its tests reject path tricks and out-of-range values.
Passwords for new networks go straight to NetworkManager over D-Bus. They never appear on a command line, where other programs could read them.
APT removals are simulated first. Anything that would remove an essential or required package, the COSMIC desktop, the kernel, systemd, sudo, apt or Ember itself is refused; you get the command to run yourself instead.
Use the private advisory form, not a public issue.
Get started
Using Ember
Help
Contributing