• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle








  • james@lurk.funtoLinux@lemmy.mlDocumenting commands # or $ before sudo?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Edit: looks like this is wrong lol, that’s what I get for not verifying. So maybe $ does make more sense!

    Original message:

    I think I’d go with #.

    The non-root user probably doesn’t have permission to run the sudo command as www-data user, but root does.

    Unless you previously set permissions for the non-root user to sudo as www-data.