15 C
Jaipur
Sunday, November 29, 2020

How to Create a User in Arch Linux – Linux Hint

Must read

Where to buy Oculus Quest 2 on Cyber Monday – and why are there no deals?

Looking for Oculus Quest 2 Cyber Monday deals? Unfortunately, we haven't really seen any across the Black Friday weekend. In fact, the VR headset...

See how iPhone XR deals came down to only £20 a month this Black Friday weekend

If you're in the market for a fairly priced iPhone, it's likely you'll have considered some iPhone XR deals before. While it's not quite...

Xbox Series X controllers are at their best price yet for Cyber Monday

If you're after a good Xbox Series X Cyber Monday deal, these Xbox Series X controllers should do just the trick. You'll find a...

Incredible Cyber Monday deal: save £1,877 on this 55-inch Alienware gaming OLED monitor

Dell has stolen the limelight this sales season with the Alienware 55-inch AW5520QF getting a major £1,877 price cut – and this stellar early...

Over the past several years, many software platforms have been developed, and they are being updated constantly. Changes and modifications are being made continuously to deliver exceptional experiences with software usage. Each year, more and more utilities are added to software to enhance and maximize functions and features.

Arch Linux is a simple distribution medium that supplies users with the latest, smartly modified, and most stable software. Generally, the Arch Linux setup process requires a user to get the process done. To successfully get the services provided by Arch Linux, you will need a typical user account. Arch Linux delivers default installation that includes the basic base system. This guide demonstrates how to create a user account in Arch Linux.

Creating A New User without root Privileges

But, in this guide, there will be an exception. The process of creating a user will be executed without any root privilege, as is the unusual condition, in this case. The reason for that is because using a rooted system can prove to be dangerous. It can pose serious problems to your system. We prefer that you carry out this operation without any root privileges enabled. So, this is the main reason for creating a normal user account, first, before performing the steps described in this guide.

How to Create a User in Arch Linux

Now, how do you create a user account in Arch Linux? At this step, we will incorporate the commands of the console to formulate a user in the Arch Linux server. Console commands are basically defect- or error-removing tools. These tools are highly important, as they boost functionality. By using console commands, users are supplied with a wide range of utilities.

You will be able to control all the functions and mechanisms of your system once you are a user. After giving permission for root privileges, enter the following commands:

$ useradd -m -G wheel -s /bin/bash your_username

 
After entering the above command, a brand new user account will be created accordingly.

Note: Be sure to type this command carefully without any errors or mistakes.

After the user account is formed, you can put in a password for the account you have created. Run the following commands to complete this action.

passwd your username
 
If you have followed these steps correctly, a new user account will be formed.

Moving on to the next step, you will need to log in to the server by incorporating the new user account. In that case, log out of the root using the following command:

exit
 
After logging out, using your new user account and the password you just formed, proceed to login.

Add User in sudo Group

Finally, all you have to do is gain the consent of the sudo for the new user account. Without sudo authorization, the entire progress can be at risk of failure.

To obtain sudo approval, type in the following command to add your user account to the group of sudoers:

$ echo “younis1 ALL= (ALL)ALL” >> /etc/subdoers

Add user in Sudo Group
 
Upon accomplishing all the steps provided above, you will be able to set up an authentic and functioning user account in Arch Linux.

Note: The process given above includes several commands to enter. A single mistake will lead to faulty or indefinite results.

Conclusion

You can enjoy a number of benefits by forming a new user account in Arch Linux. One great perk of following this guide is that it includes a useful installation process that is quite minimal. This process promises to render convenience once a new user account is made.

Source link

- Advertisement -

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

Where to buy Oculus Quest 2 on Cyber Monday – and why are there no deals?

Looking for Oculus Quest 2 Cyber Monday deals? Unfortunately, we haven't really seen any across the Black Friday weekend. In fact, the VR headset...

See how iPhone XR deals came down to only £20 a month this Black Friday weekend

If you're in the market for a fairly priced iPhone, it's likely you'll have considered some iPhone XR deals before. While it's not quite...

Xbox Series X controllers are at their best price yet for Cyber Monday

If you're after a good Xbox Series X Cyber Monday deal, these Xbox Series X controllers should do just the trick. You'll find a...

Incredible Cyber Monday deal: save £1,877 on this 55-inch Alienware gaming OLED monitor

Dell has stolen the limelight this sales season with the Alienware 55-inch AW5520QF getting a major £1,877 price cut – and this stellar early...

Chiefs vs Buccaneers live stream: how to watch huge NFL match-up from anywhere now

One of the games of the weekend sees the Kansas City Chiefs rock up to Tampa Bay's Ray Jay Stadium, where they could dish...