Skip to main content
3 votes
Accepted

Change Window Title When Start PowerShell with Sudo.exe

Refer to Start /? of CMD: START ["title"] [command/program]. Just add sudo.exe at beginning. sudo.exe start "Windows PowerShell" powershell.exe sudo.exe start "PowerShell 7&...
Oprex Droid's user avatar
1 vote

start non-root user systemd and systemd services via sudo without enable-linger

The answer given here is working for me (on Ubuntu 22.04 LTS): me@host$ systemd-run --system --scope sudo -iu them # asks for my password them@host$ systemctl --user status # works
reinierpost's user avatar
  • 2,250

Only top scored, non community-wiki answers of a minimum length are eligible