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?

in progress 0
My Great Way LLC 9 months 1 Answer 286 views 0

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 ]

Leave an answer