To create a user account in bash for Windows, follow the below steps:
- Open Bash application on your Windows: Go to Run, type bash
- Type the following command: # sudo adduser userName
you would see the below output on the console,Example:
Adding user `c2c20' ... Adding new group `c2c20' (1002) ... Adding new user `c2c20' (1002) with group `c2c20' ... Creating home directory `/home/c2c20' ... Copying files from `/etc/skel' ... New password:
- Set a New password
- You will be asked to RE-Enter the Password.
- You will be prompted to add,
- Full Name 
- Room Number 
- Work Phone 
- Home Phone 
- You will be prompted to validate the details: Is the information correct? [Y/n]
- You will be taken back to the # prompt.
How to login to new user created?
# su userName
- How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD
- How to create new user account in Windows bash
- Bash Hello World! Script Tutorial
- How to Compare Strings in Bash
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- Bash command to wait for seconds
- [fix] bash: ssh: command not found
- bash: netstat: command not found
- Know Bash shell version command
- List all Username and User ID using Bash Command
- How to use Autocomplete and Autosuggestion in Shell Commands
- How to know the current shell you are logged in?
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- 'pwd' is not recognized as an internal or external command, operable program or batch file. [Windows]
- How to Kill a port using bash terminal command?
- How to fix bash ping command not found error
- Install Bash Completion on macOS
- bash get year 2021 calendar
- How to check your IP using bash for Windows?
- Bash For Loop Example
- Fix bash: script.sh: Permission denied Error
- How to add hours and minutes to Java Instant - Java
- Device not compatible error Android Google Play Store - Android
- How to write hello world different languages syntax - HowTos
- 2020 Popular Halloween Emoji's and hashtags - Hashtags
- Run IntelliJ Java main method without Gradle build - Gradle
- How to remove unwanted Java imports in IntelliJ (alternative of eclipse Ctrl + Shift + O) - Eclipse
- Change SharePoint search results FullTextSqlQuery RowLimit 10000 - SharePoint
- Create Bootstrap carousel slider with Text - Bootstrap