<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://freemwiki.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Add_New_Users_to_Linux</id>
	<title>How to Add New Users to Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://freemwiki.com/index.php?action=history&amp;feed=atom&amp;title=How_to_Add_New_Users_to_Linux"/>
	<link rel="alternate" type="text/html" href="https://freemwiki.com/index.php?title=How_to_Add_New_Users_to_Linux&amp;action=history"/>
	<updated>2026-04-18T11:40:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://freemwiki.com/index.php?title=How_to_Add_New_Users_to_Linux&amp;diff=9551&amp;oldid=prev</id>
		<title>Lukegao1: 创建页面，内容为“  Adding new users to a Linux system is a common task for system administrators or users who want to grant access to other people to use the system. Here are the general steps to add new users to a Linux system:  1. Open a terminal window and log in as the root user or a user with sudo privileges. 2. Use the `adduser` command to add a new user. For example, to add a user named &quot;johndoe&quot;, type the following command and press Enter:    ```    adduser johndoe    `…”</title>
		<link rel="alternate" type="text/html" href="https://freemwiki.com/index.php?title=How_to_Add_New_Users_to_Linux&amp;diff=9551&amp;oldid=prev"/>
		<updated>2023-03-22T13:29:06Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“  Adding new users to a Linux system is a common task for system administrators or users who want to grant access to other people to use the system. Here are the general steps to add new users to a Linux system:  1. Open a terminal window and log in as the root user or a user with sudo privileges. 2. Use the `adduser` command to add a new user. For example, to add a user named &amp;quot;johndoe&amp;quot;, type the following command and press Enter:    ```    adduser johndoe    `…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Adding new users to a Linux system is a common task for system administrators or users who want to grant access to other people to use the system. Here are the general steps to add new users to a Linux system:&lt;br /&gt;
&lt;br /&gt;
1. Open a terminal window and log in as the root user or a user with sudo privileges.&lt;br /&gt;
2. Use the `adduser` command to add a new user. For example, to add a user named &amp;quot;johndoe&amp;quot;, type the following command and press Enter:&lt;br /&gt;
   ```&lt;br /&gt;
   adduser johndoe&lt;br /&gt;
   ```&lt;br /&gt;
   You will be prompted to enter the new user&amp;#039;s password and some other information such as full name, phone number, etc. You can choose to skip some of the fields by pressing Enter.&lt;br /&gt;
3. After you have provided the required information, a new user account will be created with the username and home directory. The home directory for the new user will be created under the /home directory.&lt;br /&gt;
4. To grant administrative privileges to the new user, you can add the user to the sudo group by typing the following command and press Enter:&lt;br /&gt;
   ```&lt;br /&gt;
   usermod -aG sudo johndoe&lt;br /&gt;
   ```&lt;br /&gt;
   This will add the user &amp;quot;johndoe&amp;quot; to the sudo group, which allows them to execute commands with root privileges using the `sudo` command.&lt;br /&gt;
5. Finally, you can test the new user account by switching to the user&amp;#039;s account by typing the following command and press Enter:&lt;br /&gt;
   ```&lt;br /&gt;
   su - johndoe&lt;br /&gt;
   ```&lt;br /&gt;
   This will switch to the new user&amp;#039;s account and you can test that everything is working correctly.&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it! You have successfully added a new user to your Linux system.&lt;/div&gt;</summary>
		<author><name>Lukegao1</name></author>
	</entry>
</feed>