#!/bin/sh
# realadm-updater-shell: the remote user's login shell once realadm-updater-setup has given
# it a key (realed2/realadm#6).  sshd runs every command as "<shell> -c <command>", the key's
# forced command included, so whatever is asked, and however remote logged in, this runs
# the updater and nothing else.  remote-shim becomes remote through sudo -u, which starts
# no login shell, so it is unaffected.
exec /usr/bin/sudo -n /usr/sbin/realadm-updater
