LDM_PASSWORD_HASH=True doesn't work on Redhat

Bug #1738447 reported by Kim B. Heino on 2017-12-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

LDM assumes "no password" is ":!:" in /etc/shadow. Redhat uses ":!!:", Debian/Ubuntu uses ":!:".

Attached patch fixes this to work on both cases.

Kim B. Heino (bcgss) wrote :
Kim B. Heino (bcgss) wrote :

Another option for the patch is:

+ "# Generated by LTSP, for LDM rc.d script manipulation\n$s:!!\\?:%s:",

This was recommended by quinox1 on IRC.

Vagrant Cascadian (vagrantc) wrote :
Changed in ltsp:
status: New → Fix Committed
Changed in ltsp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers