ClusterLabs / hawk

A web-based GUI for managing and monitoring the Pacemaker High-Availability cluster resource manager
http://hawk-ui.github.io/
GNU General Public License v2.0
151 stars 51 forks source link

Fix auth #274

Closed aleksei-burlakov closed 8 months ago

aleksei-burlakov commented 9 months ago

Update sanity check for passwd existance Update validation for the newer versions of rails

The /etc/pam.d/passwd is optional in fact, for example, there is none in the tumbleeweed. So let's relax the condition: if there is no /etc/pam.d/passwd, check if there is a passwd binary in /usr/bin of /usr/sbin

Starting with Rails6.1 there has changed the validation. Namelly, the ActiveModel::Errors has changed it's structure.