Re: Can we have doas? (a secure replacement for sudo)
Reply #4 –
@Glats
Do not know what this doas-thingy needs to do for you, but is it possible su provides a solution like so :
su -c 'TheCommandYouWantExecuted'
Upon ENTER : passwd-prompt pops up after which command executes ; upon completion the credentials are dropped and you are returned to your original position in the hierarchy.
If no user is specified root is assumed.