blob: 97b9f7d73befec3e2b1b269eb46f321c3de18df3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_install() {
setcap cap_net_bind_service=+ep 'usr/bin/rcp' 2>/dev/null || chmod +s 'usr/bin/rcp'
setcap cap_net_bind_service=+ep 'usr/bin/rlogin' 2>/dev/null || chmod +s 'usr/bin/rlogin'
setcap cap_net_bind_service=+ep 'usr/bin/rsh' 2>/dev/null || chmod +s 'usr/bin/rsh'
cp -p /etc/pam.d/telnetd /etc/pam.d/other
}
post_upgrade() {
post_install $1
}
|