System Security State Flashcards

1
Q

who

A

Lists currently logged in users.

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

w

A

Logged in users with processes running.

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

last

A

All users who have logged in. head can help with interpreted.
-f /var/log/bump

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

lsof

A

Determine files currently open on system. Ordered CMD, PID, USER, FD, TYPE, DEVICE, SIZE, Node Name.

  • i: list network ports.
  • u: specify user.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

find

A

Can be used to locate all files that have specific SUID/SGID bits set.
In form of -perm -

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

ulimit

A

Can be used to set limits on amount of resources in system user can utilize.

  • a: displays all and switches for.
  • m: memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

/etc/security/limits.conf

A

Permanent limits storage. Set in

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

/etc/sudoers

A

Default configuration file for configuring users/groups granted elevated privileges. visudo to edit.

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

fuser

A

Lists all PIDs to file/network port in use. Ex: 22/tcp

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

netstat, ss

A

Use switches to view active connections.

  • t: TCP
  • u: UDP
  • n: IP number instead of host name.
  • a: all sockets. Listening and non-listening.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

nmap

A

Network map. Scan host for open ports and services.

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