how to add new user in linux fedora

11:02 AM
Adding a User


To add a user do the following:


# groupadd john
# useradd -g john -c “John Doe” -m -d /home/john -s /bin/bash john
# passwd john

Changing password for john

Enter the new password (minimum of 8, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
Password changed.

0 Comments