useradd -m -G sudo user01
This creates user01, -m adds home directory and -G sudo adds the user to sudo group
Last updated 1 year ago