IT1510 Users and Groups Practice Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

In which of the following files is the user's default login shell specified?

/etc/passwd

Which of the following does not require root privileges?

Download a file from the internet

Which of the following does NOT happen when a user account is removed from the system?

Files and directories owned by the user are deleted

Which of the following does NOT happen when a user account is removed from the system?

Files and directories owned by the user are deleted.

On a Linux system the file system table file usually uses UUIDs of partitions rather than the representation of the partition as a device file. What is the reason that UUIDs are preferred?

If partitions are added or removed it may change the names of the other device files in the system.

What type of access control usually consists of moving people into or out of groups and assigning or removing permissions for groups?

Role based access control

Which statement is tru about User ID numbers 0-99 in debian based Linux

They are reserved and used for system accounts.

The purpose of the /etc/shadow file is_______.

To hold the encrypted user password.

I have the following entry in the shadow file: joe:$1$doJ$k9CHHAQJZLsGyso06priq.:15721:0:99999:7::: has joe's password hash been salted?

True

Which of the following information is NOT found in the /etc/passwd file?

User password

A user calls and asks to get their linux password, after verifying their credentials, what would be the best response?

User passwords are not stored on the system I will give you a temporary password.

A new employee has come into the company, how do I set up an account for him using one command?

adduser joe

Which command will add user jane to the group developers?

chgrp jane developers

Fred has taken over for Bill at work and so all Bill's files need to be given to Fred. What command would transfer control of the files to Fred.

chown fred *

Which command will remove the account named jane from the system?

deluser jane

What is hidden in /etc/shadow

hash codes

I am a new Linux and Unix system user. How do I find out the user and groups names and numeric IDs of the current user or any users on my server?

id

You are an administrator and need to change Jane's password. What command would you use?

passwd jane

Which command will remove the group named developers from the system?

sudo delgroup developers

What command will remove the account named Jane from the system?

sudo deluser jane

fred needs his password fixed what command should I use to reset his password?

sudo passwd fred

To change the password on an account named jane an administrator (not jane) must use which of the following commands?

sudo passwd jane

Which of the following commands should an administrator use to edit the /etc/passwd file directly?

sudo vipw

I need to edit the shadow file which commands should I use

vipw -s


Set pelajaran terkait

Win Server Test Chapters 1 - 9 Final Exam

View Set

Chapter 1 - Leading Edge Management

View Set

Structural Units of The Human Body

View Set

Chapter 5: The Lipids; Triglycerides, Phospholipids, and Sterols

View Set

Network Pro Part 3 ++++++++++++++++++++++++

View Set