-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSETUP
More file actions
24 lines (20 loc) · 931 Bytes
/
Copy pathSETUP
File metadata and controls
24 lines (20 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Installation / Setup outline
===============================
Image:
===============================
- create a base user 'fpc'
- net-fpc.sh goes to /usr/sbin with permissions (4755) root:root
- disable apparmor (to make tcpdump work) or create a proper profile
- Add to /etc/sudoers (there's a template file within this distribution):
fpc ALL=(root) NOPASSWD: /usr/sbin/net-fpc.sh
fpc ALL=(root) NOPASSWD: /usr/sbin/tcpdump
- You should disallow password auth and root logins
OR
- use install-fpc.sh. Defaults: user fpc, IP: 192.168.1.22
(it uses the template sudoers, sshd_config and known_hosts provided)
Server-side Setup
===============================
- create a template known_hosts containing your server's sshd-fingerprint in the
same folder as setup-fpc.sh, it will get transfered to the slave box during
setup to make its ssh(1) shut up
- create a datadir. dumps will be stored in /data/boxname by default