On 10/6/23, 11:52, "Sam Morris" <[email protected]> wrote:
______________________________________________________________________
On 04/10/2023 17:02, Spike White wrote:
> We see in other places in this McAfee script that they run this command
> using 'su' instead of 'sudo'.
>
>     su -s /bin/sh -c "LD_LIBRARY_PATH=...  ${PROGROOT}/bin/macmnsvc
>     status" mfe
…
> Anyway, it's McAfee's problem to fix now.  We'll report it and I'm sure
> they'll figure out a solution.

If they are root and want to drop privileges then they would be better
served by runuser or setpriv. …

…or start out as non-root user to begin with…
(It’s a peeve of mine when security companies don’t follow best practice of 
elevating only if absolutely necessary.)

--
Pat Larkin | Manager – LinuxIMO
Sabre  TEO | Texas USA

_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to