A new user has been hired to replace the retired user mikef. You have been tasked with giving the new user access to resources on a file sharing server with multiple file directories owned by mikef. What is the simplest way to ensure this new user's account has access to these files?

Respuesta :

Answer:

You need to use useradd command. useradd -u <UID> <newuser>

Explanation:

Useradd is built-in Linux command that can be found on any Linux system. However, creating new users with this low-level is a tedious task.

To add a new user to the system, all that is necessary is to follow the useradd  command by that user's user name. This name is the login name, that is, the name that the user uses when logging into the system.