Oisteink,

There’s no way to run a command as another user if that user is not created.

linux.die.net/man/1/runuser

Edit:sudo is also an option but I like runuser for your use-case

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #