shell: Relax /proc/meminfo regexp.

Fixes #1242
Closes #1275
Reviewed-by: Stef Walter <stefw@redhat.com>
polkit: Tweak policy to work for Cockpit

By installing our own rules while testing.

Signed-off-by: Stef Walter <stefw@redhat.com>
 - These are for our tests, we won't install these on systems
daemon: Run usermod via pkexec

So that admins can change roles and password hashes of user accounts.

Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Perform systemd actions via pkexec and systemctl

Instead of via D-Bus methods.  This enables admins to start/stop/etc
services.

Reviewed-by: Stef Walter <stefw@redhat.com>
test: Run more tests as "admin"

Fixes #1203
Fixes #1204
Fixes #1206
Closes #1238
Signed-off-by: Stef Walter <stefw@redhat.com>
 - Removed rules.d from main Cockpit package
shell: Make the choice to store into fstab explicit.

Previously, a empty mount point field would implicitly mean what is
now explicitly called "Default".

Fixes #1223
Closes #1270
Reviewed-by: Stef Walter <stefw@redhat.com>
shell: Fix links to "Other Devices" on storage pages

Closes #1273
Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Only show user roles that actually exist

Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Add "docker" user role

Fixes #1207
Reviewed-by: Stef Walter <stefw@redhat.com>
daemon: Update roles when /etc/group changes

Reviewed-by: Stef Walter <stefw@redhat.com>
test: Check dynamic updates of role groups

Closes #1235
Reviewed-by: Stef Walter <stefw@redhat.com>
ws, static: Report "Permission denied" when pam_acct_mgmt fails.

Fixes #915