diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-05-17 15:59:24 +0100 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-05-17 15:59:24 +0100 |
| commit | bbf7974715b9a43bab207df75ef69209cdf13850 (patch) | |
| tree | 13078ed02a7fec8f28b1d6046e6533f1be2aec54 /src/posts/arch/2020-06-15/adding-a-user-in-arch-linux | |
| parent | 3e9a949c823917e0f4189628959fa4d3eb908db4 (diff) | |
Move to building localy rather than on remote server
Diffstat (limited to 'src/posts/arch/2020-06-15/adding-a-user-in-arch-linux')
| -rw-r--r-- | src/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.gmi | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.gmi b/src/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.gmi deleted file mode 100644 index fc55493..0000000 --- a/src/posts/arch/2020-06-15/adding-a-user-in-arch-linux/index.gmi +++ /dev/null @@ -1,58 +0,0 @@ -# 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. - -```shell -$ useradd -m -s /bin/bash david -``` - -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. - -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. - -```shell -$ passwd david - -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:$ -``` - -### Links - -=> /posts/arch/2020-05-25/installing-arch-linux-on-a-x220-thinkpad/ Installing Arch Linux on a Thinkpad X220. - -=> /posts/arch/ 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. - -=> mailto:david@davidtsadler.com Email david@davidtsadler.com - -=> https://creativecommons.org/licenses/by-sa/4.0/ The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. - -Copyright © 2021 David T. Sadler. - -=> / Return to Homepage. |
