Update login.defs on openSUSE

Some of the tripleo image elements rely useradd a for creating a group
with the same name as the user that is added. On openSUSE is feature
is turned off by default. So enable it here.

Change-Id: I120067e5e522dc6e704e7f09b724d60dee0c7f22
This commit is contained in:
Ralf Haferkamp 2013-12-18 10:17:15 +01:00
parent 7da1425438
commit 641840b2c7

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
sed -i -e "s,^USERGROUPS_ENAB.*$,USERGROUPS_ENAB yes," /etc/login.defs