SUSE Support

Here When You Need Us

Autoyast <authorized_keys> tag fails to create root's authorized_keys file

This document (7022782) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)


The /root/.ssh/authorized_keys file is not created when including the following root user definition in the control file.

  <users config:type="list">
      <encrypted config:type="boolean">true</encrypted>
      <authorized_keys config:type="list">
        <listentry>ssh-rsa ...</listentry>
        <listentry>ssh-rsa ...</listentry>


Local users work, but system users are excluded. A driver update disk (DUD) is available to resolve the issue for the root user only, not other system users.

When applying the DUD do the following:

1. Boot from the installation media
2. Select Installation
3. Include something similar on the Boot Options line:

 textmode=1 netsetup=dhcp autoyast=http://server/autoinst.xml dud=http://server/yast2-users-3.2.14-3.9.1.x86_64.rpm

Requires yast2-users-3.2.14-3.9.1 or later.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022782
  • Creation Date: 27-Mar-2018
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.