Security Flashcards

1
Q

/var/run/utmp

A

File that allows setting that would deny or allow permission to useful commands for regular users such as “who and w”.

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

/etc/nologin

A

If file exists then no user other than root can log in.

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

xinetd

A

Super security daemon

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

/etc/xinetd.d/*

A

Every server that runs via xinetd is configured in a file located here.

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

/etc/hosts.allow

A

All hosts defined are allowed access to the system. All other hosts are denied

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

Configuration file for xinetd

A

/etc/xinetd.conf

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

/etc/hosts.deny

A

All hosts defined are denied all others are allowed

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

/etc/inetd.d/*

A

Location of individual server config files for inetd

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

ssh-add

A

Adds your RSA key that is managed by ssh-agent

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

Location of DSA key

A

~/.ssh/id_dsa

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

~/.ssh/authorized_keys

A

Contents of a .pub key on a remote server that wants to connect to origin server here

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

User’s location for GPG keys

A

~/.gnupg/*

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

ssh-keygen

A

Generate new OpenSSH keys

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

Location of RSA key

A

~/.ssh/id_rsa

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

Public side of your DSA key

A

id_dsa.pub

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

Location of the host key created when using ssh-keygen

A

/etc/ssh/ssh_host_dsa_key

17
Q

Where info is on machines the system administrator trusts users to connect to

A

/etc/ssh_known_hosts

18
Q

ssh-agent

A

Adds configured keys to the password ring for use in the current session

19
Q

Config file for SSH

A

/etc/ssh/ssh_config

20
Q

gpg

A

Allows you to digitally sign messages as encrypted

21
Q

gpg –gen-key

A

Generate a GPG key

22
Q

gpg –export keyname > gpg.pub

A

Users with gpg.pub can decrypt your message and view it

23
Q

gpg –import keyname.pub

A

Import someone’s pub file to your key ring so you can read their encrypted messages

24
Q

gpg –list-keys

A

List the GPG keys in your key ring

25
Q

gpg –edit-key

A

Brings up an interactive menu to manage keys

26
Q

First two characters of an MD5 hashed password (salt)

A

$1