Fixed chsh: command not found in CentOS 8 This problem happens on some vps provider. Need to manual install to solve it sudo dnf install util-linux-user That means use dnf to solve it.