root | June 6, 2023
To add and delete a user in Ubuntu, you can follow these steps:
To add a user:
1. First, open the Terminal in your Ubuntu. To do this, you can open the "Terminal" from your desktop.2. If you want to add a new user, you will need to log in as a superuser. To do this, type the following command:sudo adduser username
Replace "username" with the actual name of the user you want to add.
3. You will be prompted to provide a password for the user. Type a secure password and confirm it.
4. You can then provide additional information about the user, such as their full name, phone number, email, etc. You can either fill in this information or leave it blank.
5. Once you have provided all the necessary information, the user will be added to your system.
To delete a user:
1. Open the Terminal in your Ubuntu.2. To delete a user, you need to be logged in as a superuser. Type the following command to switch to the superuser account:sudo su
3. Once you have switched to the superuser account, type the following command to delete the user:userdel -r username
Replace "username" with the actual name of the user you want to delete.4. You will be prompted to confirm the deletion. Type "yes" to confirm.5. The user will be deleted from your system, along with their home directory and all their files.
0 COMMENTS:
<p> </p> <p> </p> <h3 style="color:#aaaaaa; font-style:italic">iOS मा नैटिभले प्रदान
Read More<h3 style="color:#aaaaaa; font-style:italic">If you want to recover recently deleted photos from the
Read More<p> </p> <p style="text-align:center"><iframe allow="accelerometer; autoplay; clipboard-writ
Read More<div style="text-align:center"><iframe frameborder="0" height="270" src="https://youtube.com/embed/Q
Read More<div style="text-align:center"><iframe frameborder="0" height="270" src="https://youtube.com/embed/C
Read More<h2><strong>नेपालीमा Ubuntu 22.04 Linuxमा विन्डोज 10 वा 11 को बूटयोग्य USB बनाउने तरिका निम्न रूपमा
Read More<div style="text-align:center"><iframe frameborder="0" height="270" src="https://youtube.com/embed/u
Read More<div style="text-align:center"><iframe frameborder="0" height="270" src="https://youtube.com/embed/m
Read More<div style="text-align:center"><iframe frameborder="0" height="270" src="https://youtube.com/embed/s
Read More<div><span style="background-color:#fffdfc; color:#08102b; font-family:"Noto Sans",sans-se
Read More