-
The root user
Which command will display the users that are currently logged in to the system?
-
who
The
sudo
command allows regular users to...-
...run any commands as a system account without logging in.
The /etc/sudoers file should be edited directly by root using the visudo command.
-
True
Which of the following commands will allow you to switch to the user, branch?
-
su branch
-
su -l branch
-
su - branch
The
visudo
command uses which text editor by default?-
vi
Which of the following commands will display the group(s) a user belongs to?
-
id
Which of the following commands will display the groups that the user bob belongs to?
-
id bob
In distributions that do not allow the root user to login directly or via the
su
command, the installation process automatically configures one user account to be able to use the sudo
command to execute commands as if they were executed by the root user.-
True
Which command can be used to view the /etc/passwd file entries?
-
getent
0 comments:
Posting Komentar