Re: [osinfo-db][PATCH] fedora, installer: Use authselect instead of authconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

Looks good
Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

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@xxxxxxxxxxxx>
> ---
>  .../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 &lt; 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 &lt; 28">
>  authconfig --enableshadow --enablemd5
> +  </xsl:when>
> +  <xsl:otherwise>
> +authselect select sssd
> +  </xsl:otherwise>
> +</xsl:choose>
>  <xsl:if test="os/version &gt; 1">
>  selinux --enforcing
>  </xsl:if>
> -- 
> 2.14.3
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux