Updates via Welcome-App - Asking for Root instead of Sudo

Hi,

I’ve recently set up a PC for my family using EndeavourOS and explained the system update using the Welcome-App.
But instead of the sudo password, its always asking for the root password.

Is there any way I can change that? Since I’m not always there, it would be much better if it would ask for the sudo password.

1 Like

Sudo enables a user to carry out a command as root. Basically it is almost the same.

Edit:

root is a more privileged user, as the name suggests, he has Root Rights.

under

cat /etc/passwd

you can see your various users.

Yes, you can modify EOS_ROOTER in /etc/eos-script-lib-yad.conf

2 Likes

Thank you!
Exactly the thing I needed.

1 Like

In connection with this, I would like to ask why, when updating the Welcome application, it asks for the root password instead of asking for the user’s password when using sudo? Does this have any significance?

Because it is isn’t using sudo. It is using su by default.

Yes, you can change EOS_ROOTER to be sudo as described above and then it will use the user password.

1 Like

That’s exactly what I was wondering, is there any special reason why it uses su instead of sudo by default?

In the past sudo has had some (potential) security issues, so su was chosen as the default.
It is debatable which one is best as default though. But this solution (=configuring EOS_ROOTER) makes it possible for everyone to have their preferred choice.

2 Likes

This explains the decision in favor of su. The security incidents with sudo didn’t occur to me, but I remember them.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.