loginctl

Shell

Context: sudo, unprivileged

loginctl user-status
!/bin/sh