TheViking@nord.pub to No Stupid Questions@lemmy.worldEnglish · 6 hours agoWhat is the fundamental difference between sudo and doas ?message-squaremessage-square10fedilinkarrow-up117arrow-down11
arrow-up116arrow-down1message-squareWhat is the fundamental difference between sudo and doas ?TheViking@nord.pub to No Stupid Questions@lemmy.worldEnglish · 6 hours agomessage-square10fedilink
minus-squareSlicedPotato@feddit.dklinkfedilinkarrow-up4·5 hours agoSudo: Always uses the root user to get access to run a command, no matter which user you want to run the command as. Doas: Uses the user you want to run the command as to actually get access to run the command.
minus-squareShimitarAlinkfedilinkEnglisharrow-up5·4 hours agoSudo -u otheruser do still go trough root?
Sudo: Always uses the root user to get access to run a command, no matter which user you want to run the command as. Doas: Uses the user you want to run the command as to actually get access to run the command.
Sudo -u otheruser do still go trough root?
Yes.