callyral, 1 year ago i use doas and it has a -u user argument. by default the user is root but you could do doas -u another_user i guess. i don’t know if sudo has the same but it probably doas*. *i misspelled “does” but i’m keeping it
i use doas and it has a -u user argument. by default the user is root but you could do doas -u another_user i guess. i don’t know if sudo has the same but it probably doas*.
doas
-u user
doas -u another_user
*i misspelled “does” but i’m keeping it