Trying to figure out how to send SMS messages using mmcli and not being root.
I thought I had it and was ready. Here are my short notes
First you have to add the user to the dialout group
Then you have to create a polkit rule
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.ModemManager1.Control" || action.id == "org.freedesktop.ModemManager1.Messaging") &&
subject.isInGroup("dialout")) {
return polkit.Result.YES;
}
});
Then reload polkit and you should be good.
Want to try this from a fresh non gui system. My change things.
Weight: 339.8