Ask Your Question
2

What steps do I need to follow using the Mac Terminal to create a user in Linux?

asked 2022-02-02 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2021-11-15 12:00:00 +0000

bukephalos gravatar image
  1. Open Terminal on your Mac.
  2. Connect to the Linux server using the ssh command: ssh username@servername
  3. Enter your password.
  4. Once you’ve successfully logged in, enter the following command to create a new user: sudo adduser newusername
  5. Follow the on-screen prompts to set a new password for the user and other information like full name, phone number, etc.
  6. Add the new user to the sudoers group by running the following command sudo adduser newusername sudo.
  7. Verify that the new user has been created by logging out of the Linux server and logging back in using the new user’s credentials.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-02-02 11:00:00 +0000

Seen: 22 times

Last updated: Nov 15 '21