rsh: Fork before exec to avoid SIGHUP from systemd-logind

This update fixes the following issue for rsh:
- bnc#783187: fork before exec to avoid SIGHUP from systemd-logind

11.4 only:
- bnc#723593: Use a better fix. The current patch causes NULL dereference when pam getenvlist returns NULL (already fixed in 12.1 and 12.2)

Fixed bugs
bnc#783187
rcp: lost connection
bnc#723593
in.rshd: double free or corruption
Selected Binaries
openSUSE Build Service is sponsored by