From bbf7974715b9a43bab207df75ef69209cdf13850 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 17 May 2021 15:59:24 +0100 Subject: Move to building localy rather than on remote server --- .../adding-a-user-in-arch-linux/index.html | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 www/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.html (limited to 'www/posts/arch/2020-06-15') diff --git a/www/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.html b/www/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.html new file mode 100644 index 0000000..c294c31 --- /dev/null +++ b/www/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.html @@ -0,0 +1,30 @@ + + + + + + Adding a User in Arch Linux + + + + + + + + + + + + + + +

Adding a User in Arch Linux

Mon 15th June 2020 By David T. Sadler.

In a previous post I installed Arch Linux on my Thinkpad X220. Since it was a very minimal install there are no user accounts except for the root user. So to add myself as a user I need to use the useradd command.

$ useradd -m -s /bin/bash david

I used the below options with the command.

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.

$ passwd david
+
+New password:
+Retype new password:
+passwd: password updated successfully

Now all I have to do is logout of the root account.

$ logout

Then login with the new credentials to confirm that everything is okay.

suliman login: david
+Password:
+
+david@suliman:$

Links

Installing Arch Linux on a Thinkpad X220.Arch - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.comThe contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage.
+ + -- cgit v1.2.3-13-gbd6f