Securing Local Logins Flashcards

(9 cards)

1
Q

/etc/nologin

A

Can be used to display message on console when someone attempts to log in with account using /sbin/nologin shell.

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

usermod

A

Additional notes.

  • L: lock given user.
  • e 1: effectively lock account by setting expire date to 1.
  • s: assign shell to user.
  • U: unlock given user.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

/etc/passwd

A

Contains the main account configuration details of the users on system.
Reminder: ::::::

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

/etc/shadow

A

Stores the encrypted passwords and password age info for the users on system.
! At beginning of password field indicates lock.
Reminder: :::::::

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

xinetd

A

Super-daemon. Controls access to various network systems, older.

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

/etc/xinetd.conf

A

Configuration file for xinetd
General logging in syslog format:
Ex: log_type = SYSLOG daemon info.
Access restrictions: include connections per seconds requested and disable time (s), instances, maximum connections for source IP.
Bottom includes configuration file from /etc/xinetd.d

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

/etc/xinetd.d

A

Contains configuration files for services which xinetd can control.

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

TCP Wrappers

A

Functionality users a hosts.allow and/or hosts.deny file to determine access to network services. Formatted as
: ALL is an option for both.

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

systemd.socket

A

Systemd socket unit file used in place of xinetd on modern Linux distros. Type of unit will allow for on-demand activation of network services. TCP Wrappers can be used in conjunction with systemd socket units.

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