SImplify format_for_another_user.

No need to use cat, use here-doc as input to pkexec directly.