On 3/22/23 05:19, George N. White III wrote:
On Wed, Mar 22, 2023 at 8:42 AM ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>>
wrote:
On 3/22/23 04:21, Patrick O'Callaghan wrote:
> On Tue, 2023-03-21 at 22:14 -0700, ToddAndMargo via users wrote:
>> I hate the sudo command. I never use it.
>>
>> Try running your script with su instead:
>> su root -c "script"
>
> You might want to explain your reasoning here. These two things
are not
> equivalent, and saying you "hate the sudo command" is not helpful.
>
> poc
Both the "su" and "sudo" command will elevate the
user to root. Sudo's quirks have pissed me off
for ages. Your mileage may vary.
There is also doas. Sudo has grown to support use cases beyond the
needs of many/most users.
--
George N. White III
$ dnf whatprovides doas
Last metadata expiration check: 13:42:49 ago on Tue 21 Mar 2023 04:18:18
PM PDT.
opendoas-6.8.2-2.fc37.x86_64 : Portable fork of the OpenBSDs doas command
Repo : fedora
Matched from:
Provide : doas = 6.8.2-2.fc37
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue