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

Changing the password of the root user of mysql in Ubuntu

Hi all,    In this post we are going to see how to reset the password of root user in mysql As we all know the root user of mysql is some...