Saturday, December 26, 2020

Chapter 6 : Creating lfs User Account

Hi,

In this post let us create a dedicated user for the process of building the linux system from scratch.

Let the name of the user be "lfs"

Well before we add the user, let us create a user group and let the group name be "lfs"

Open a terminal and key in the following command...

$ sudo groupadd lfs

the above command may prompt you to key in the password, provide the one associated with the account.

Now, let us create the user..

The command to create a user is given below with necessary options in it.

$ sudo useradd -s /bin/bash -g lfs -m -k /dev/null lfs

Now let us associate a password to this newly created user, use the "passwd" command to set the password as dictated below..

$ sudo passwd lfs

The above command would ask you to type and comfirm the password.

Well with this we have created the user and move on to the next chapter


No comments:

Post a Comment

Addressing Modes of 8080 / 8085 MicroProcessor

Hi,   In this post I am going to talk about different addressing modes of 8080/8085...without much talking let us get into the topic.   Ther...