How can you add Amit, a new user, to your system? A. Using useradd B. Using adduser C. Using linuxconf D. All of the above E. None of the above

Using useradd
Using adduser
Using linuxconf
All of the above E. None of the above

The correct answer is: A. Using useradd.

useradd is a command-line utility for adding users to a Linux system. It can be used to create a new user account, set the user’s home directory, and assign the user a password.

To add a new user using useradd, you can use the following command:

useradd -m -s /bin/bash amit

This command will create a new user account named “amit” with a home directory in /home/amit and a shell of /bin/bash.

You can also use the useradd command to set other attributes for the user account, such as the user’s full name, the user’s group, and the user’s login shell. For more information on the useradd command, you can consult the useradd man page.

The other options are incorrect because they are not valid ways to add a new user to a Linux system. linuxconf is a graphical user interface for configuring Linux systems, but it does not have a feature for adding new users.

Exit mobile version