aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/shadow/shadow-securetty_4.1.4.3.bbappend
blob: 0550f0b1f84bb8d11e07d8444cca3abcefdabda4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
do_install_append() {
	# Allow root to log in through telnet.  This is a security hole
	# but it is needed for legacy reasons (i.e. testing).

	cat >> ${D}${sysconfdir}/securetty << _EOM

# XXX: allow root to log in through telnet.  Needed for testing.
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9

_EOM

}