If you want to add a new user in Ubuntu Linux, you can make use of the adduser command followed by the new user name,
Example:
root@ubuntu:/# adduser newuser
Adding user `newuser' ...
Adding new group `newuser' (1001) ...
Adding new user `newuser' (1001) with group `newuser' ...
Creating home directory `/home/newuser' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for newuser
Enter the new value, or press ENTER for the default
Full Name []: John
Room Number []: 2022
Work Phone []: 000
Home Phone []: 000
Other []:
Is the information correct? [Y/n] Y
To move to the newly created user simply do su newuser
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to Ubuntu,
- Install Oh My Zsh on Ubuntu Docker complete steps
- Installing Home-brew on Ubuntu
- Install Golang (Go) on Ubuntu
- Install specific JRE on Ubuntu using apt
- How to stop/start/restart apache server using command [Ubuntu]
- How to install zsh shell on Ubuntu
- Quick steps to install Nginx on Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- Add new user in Ubuntu Linux using Terminal Command
- Fix Ubuntu /bin/sh: 1: zsh: not found error
- How to install Python on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to stop MongoDB Server running on Ubuntu
- Install postgres Client using apt-get command
- How to kill service running on a port on Ubuntu Linux
- [fix] openssl No such file or directory error C++
- Fix - sudo: systemctl: command not found
- Access Windows share folder in Ubuntu Device in Network
- Add or remove users from sudo group - Ubuntu
- Quickly install Apache Server on Ubuntu Linux
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
More Posts:
- Notepad++ Happy vs Unhappy Versions - NotepadPlusPlus
- How to Sign Up for ChatGPT AI Chat Bot with Steps - HowTos
- Git Rename master branch make to main using Command - Git
- Turn off Auto-Capitalization on macOS Ventura 13 - MacOS
- Python: Convert int to binary String - Python
- [Fix] Cannot resolve No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range - Java
- 0xCAA20003: You ran into an authorization problem. [Microsoft] - Microsoft
- AADSTS90033: A transient error has occurred. Please try again. [Microsoft 365] - Microsoft