From 187a276b40b96a246f0e946d6e8128ca0bdcef50 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sat, 20 Jun 2020 21:52:41 +0100 Subject: Improve post --- source/_posts/adding_a_user_in_arch_linux.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/_posts/adding_a_user_in_arch_linux.md b/source/_posts/adding_a_user_in_arch_linux.md index 4e46764..c647d53 100644 --- a/source/_posts/adding_a_user_in_arch_linux.md +++ b/source/_posts/adding_a_user_in_arch_linux.md @@ -17,9 +17,9 @@ I used the below options with the command. - *-m* Create the home directory for this account. - *-s /bin/bash* Make *bash* the login shell for this account. -- *david* The name of the new user. +- *david* The name of the new user. -This creates a new account for me and also ensures that a home directory is created as */home/david*. +This creates a new account for me and also ensures that a home directory is created as */home/david*. The new account will require a password so assign one with the *passwd* command. @@ -30,3 +30,18 @@ New password: Retype new password: passwd: password updated successfully ``` + +Now all I have to do is logout of the root account. + +```shell +$ logout +``` + +Then login with the new credentials to confirm that everything is okay. + +```shell +suliman login: david +Password: + +david@suliman:$ +``` -- cgit v1.2.3-13-gbd6f