How add a user to a folder in Linux?

Nguyễn Trà

New member
How add a user to a folder in Linux?
Answer
Follow these steps to add an existing user to a group in Linux:
  1. Log in as root.
  2. Use the command useradd “name of the user” (for example, useradd roman)
  3. Use su plus the name of the user you just added to log on.
  4. “Exit” will log you out.
 

Tìm kiếm

Back
Top