Linuxfabrik / lfops

LFOps is an Ansible Collection of generic Roles, Playbooks and Plugins for managing Linux-based Cloud Infrastructures.
https://linuxfabrik.ch
The Unlicense
44 stars 10 forks source link

Sometimes /usr/local/bin is removed from $PATH #64

Open markuslf opened 2 years ago

markuslf commented 2 years ago

Which causes some side effects (duplicity, glances and update-and-reboot are of course not working anymore).

Currently we are not sure what the cause is, but it happened on a machine

Although the admin is not sure anymore if these was all he did (and in what order), we had the effect (missing PATH) on another machine a few days ago, too.

Could be Rocky 8.5, Rocky 8.6, Minimal vs. DVD image - or LFOps.

NavidSassan commented 1 year ago

somehow caused by the privilege escalation method, missing after sudo -i, present with sudo su -