[Libosinfo] [osinfo-db][PATCH] fedora, installer: Use authselect instead of authconfig
Christophe Fergeau
cfergeau at redhat.com
Tue Jun 5 08:40:46 UTC 2018
Hey,
Looks good
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
For reference, this is documented in 'man authselect', and 'sudo
authselect list' 'sudo authselect show sssd'. The only 2 possible
choices at the moment are sssd and winbind.
I see it has a 'with-mkhomedir' option
with-mkhomedir::
Enable automatic creation of home directories for users on their
first login.
I assume by default it's going to do the right thing, and users will
have a homedir when needed? :)
Christophe
On Mon, Jun 04, 2018 at 08:55:57PM +0200, Fabiano Fidêncio wrote:
> authconfig has been deprecated on F28 and authselect is its replacement.
>
> Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
> ---
> .../fedoraproject.org/fedora-kickstart-desktop.xml.in | 7 +++++++
> data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in | 7 +++++++
> 2 files changed, 14 insertions(+)
>
> diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> index bdc9f5d..e8e1622 100644
> --- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
> @@ -112,7 +112,14 @@ lang <xsl:value-of select="config/l10n-language"/>
> network --onboot yes --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/>
> rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
> firewall --disabled
> +<xsl:choose>
> + <xsl:when test="os/version < 28">
> authconfig --enableshadow --enablemd5
> + </xsl:when>
> + <xsl:otherwise>
> +authselect select sssd
> + </xsl:otherwise>
> +</xsl:choose>
> timezone --utc <xsl:value-of select="config/l10n-timezone"/>
> bootloader --location=mbr
> zerombr
> diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> index 8b99dfe..c4bda77 100644
> --- a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> +++ b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
> @@ -110,7 +110,14 @@ skipx
> network --bootproto dhcp
> rootpw <xsl:value-of select="config/admin-password"/>
> firewall --disabled
> +<xsl:choose>
> + <xsl:when test="os/version < 28">
> authconfig --enableshadow --enablemd5
> + </xsl:when>
> + <xsl:otherwise>
> +authselect select sssd
> + </xsl:otherwise>
> +</xsl:choose>
> <xsl:if test="os/version > 1">
> selinux --enforcing
> </xsl:if>
> --
> 2.14.3
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20180605/4b49f78c/attachment.sig>
More information about the Libosinfo
mailing list