From a781ddbef4a25d0039e14879475bc01284b7ac15 Mon Sep 17 00:00:00 2001 From: ihutchin Date: Fri, 13 Oct 2017 15:42:28 -0700 Subject: [PATCH] Inserts section for creating a new user and setting a password Altered the enable-user-space to include the initial step of creating a user. Also added "Create a new user" to the list of capabilities after installation. I changed the heading of `enable user space` to reflect changes. Signed-off-by: ihutchin --- .../bare-metal-install/bare-metal-install.rst | 1 + .../guides/maintenance/enable-user-space.rst | 22 +++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/source/clear-linux/get-started/bare-metal-install/bare-metal-install.rst b/source/clear-linux/get-started/bare-metal-install/bare-metal-install.rst index 13f63c04..45a94140 100644 --- a/source/clear-linux/get-started/bare-metal-install/bare-metal-install.rst +++ b/source/clear-linux/get-started/bare-metal-install/bare-metal-install.rst @@ -299,6 +299,7 @@ software overhead. Therefore, some housekeeping and package installations could be needed before you can take full advantage of the |CL| operating system. These instructions are captured in the :ref:`enable-user-space`. +* Create a new user * Update the OS to its most current version using `swupd`. * Install the most common applications for system administrators and developers using bundles. diff --git a/source/clear-linux/guides/maintenance/enable-user-space.rst b/source/clear-linux/guides/maintenance/enable-user-space.rst index c0da8790..13b505be 100644 --- a/source/clear-linux/guides/maintenance/enable-user-space.rst +++ b/source/clear-linux/guides/maintenance/enable-user-space.rst @@ -1,11 +1,12 @@ .. _enable-user-space: -Enable your new user space -########################## +Create and enable a new user space +################################## This section provides steps to complete the following basic setup tasks for a newly installed |CL| system: +* Create a new user * Update the OS to its most current version using `swupd`. * Install the most common applications for system administrators and developers using bundles. @@ -13,6 +14,23 @@ a newly installed |CL| system: * Setup `sudo` privileges for that new user. * Install a GUI using those `sudo` privileges. +.. Note:: + You must be logged in as the root user to complete the tasks in this + section. + +Create a new user +================= + +To create a new user and set a password for that user, enter the following +command as a root user: + +.. code-block:: console + + useradd + passwd + +Replace with the name of the user account you want to create. + Install and update software ===========================