Your question is perfectly valid btw. The answer you wanted as an eli5 was very poorly explained, using a lot of jargon and bad phrasing and formatting and typos here and there.
I understand perfectly why you’d need a breakdown of what they said if you are new to this. Dont listen to people asking you to talk to an AI chat bot. Fuck AI and fuck rude people like that.
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.
Nah. The guy’s either confusing sudo -u and sudo su - or confusing “has suid so it can switch users” with “always goes through root”. Because it doesn’t “go through” root like sudo su does.
Super user do command find and look for all files in the current directory
Makes a tempory separate session (shell) to run command as root user from the current working directory
Doas find -f
Super user do command find and look for all files in the current directory
Makes a tempory separate session (shell) to run command as root user from the current working directory
Doas bob find -f
Do as Bob look for all files that can be accessed
Makes a tempory separate session (shell) to run command as bobs user from the current working directory, will show any files that bobs group or user owns.
Could you please make that eli5 ??
Your question is perfectly valid btw. The answer you wanted as an eli5 was very poorly explained, using a lot of jargon and bad phrasing and formatting and typos here and there.
I understand perfectly why you’d need a breakdown of what they said if you are new to this. Dont listen to people asking you to talk to an AI chat bot. Fuck AI and fuck rude people like that.
Welcome to the Linux community! 🤗
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?
Nah. The guy’s either confusing
sudo -uandsudo su -or confusing “has suid so it can switch users” with “always goes through root”. Because it doesn’t “go through” root likesudo sudoes.This make much more sense…
Yes.
Sudo find -f
Super user do command find and look for all files in the current directory
Makes a tempory separate session (shell) to run command as root user from the current working directory
Doas find -f
Super user do command find and look for all files in the current directory
Makes a tempory separate session (shell) to run command as root user from the current working directory
Doas bob find -f
Do as Bob look for all files that can be accessed
Makes a tempory separate session (shell) to run command as bobs user from the current working directory, will show any files that bobs group or user owns.
Ask ChatGPT instead if you don’t want to have a conversation.
And there we have the arrogant old linuxer in its purest form.
They didn’t even ask you, and you still choose to come in from the side with attitude. Reddit moment.
Hello, l just woke up.