Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://linux.die.net/man/8/useradd


useradd xxxx




passwd xxxx




sudo permission

usermod -aG wheel xxxxxx


superuser accountCentos

visudo

search for:   in vi:  /ALL=(ALL)

copy the "root" line with the new account name

xxxxx   ALL=(ALL)   ALL