Written by Sean Behan on Thu Mar 02nd 2017

To create a new user on Ubuntu (Heron8)

adduser johndoe

To create a new group

groupadd barleyfarmers

Add johndoe to the barleyfarmers group

adduser johndoe barleyfarmers

The adduser command, when you're first adding the new user account, will prompt you for information pertaining to the account -name, phone, password, etc. If you want to change the password use the passwd command followed by the username for that account.

passwd johndoe

Tagged with..
#cmd #groupadd #useradd #linux #command line

Just finishing up brewing up some fresh ground comments...