Chapter 13 Exam

Which user can view the /etc/shadow file?
  • 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
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

    Blogger Comment
    Facebook Comment

0 comments:

Posting Komentar