How To Add and Delete Users on a CentOS 7 Server

Question

Need to add users on my CentOS 7 server. How To Add and Delete Users on a CentOS 7 Server?

solved 0
My Great Way LLC 5 years 2019-02-11T02:45:22+00:00 1 Answer 1719 views -5

Answer ( 1 )

  1. Adding Users

    If you are signed in as the root user, you can create a new user at any time by typing:

    [adduser username]

    If you are signed in as a non-root user who has been given sudo privileges

    [sudo adduser username]

    Next, you’ll need to give your user a password so that they can log in. To do so, use the passwd command:

    [ passwd username ]

    Best answer

Leave an answer