Control Access to Files Flashcards

1
Q

What are the three file ownership permissions?

A

A file is owned by a user, single group, and other users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What permission applies?

A

The most specific.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What permissions override group permissions?

A

User permissions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What permissions do group permissions override?

A

Permissions other than user permissions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the ls -l option command do?

A

The command expands the file listing to include both the file permissions and ownership.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What can the chmod command do?

A

It can change file permissions from the command line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What two methods can chmod command use to represent permissions?

A

Symbolic or Octal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the chown command do?

A

Changes file ownership.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what does chown -R (–recursive) do?

A

Changes the ownership of a directory tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the umask command without arguments do?

A

Displays the current umask value of the shell.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does every process on the system have?

A

umask

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where are the default umask values for Bash defined?

A

/etc/login.defs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What settings location might affect the /etc/login.defs file?

A

/etc/profile, /etc/bashrc, /etc/profile.d, or your account’s shell initialization files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What special permissions provides additional access-related features to files?

A

suid, sgid, and sticky.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly