diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2016-01-27 16:43:03 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-02-22 15:51:19 -0500 |
commit | 8895bd0b73cd6b7ed933737506fd03cf44e42530 (patch) | |
tree | e72c99be6b21c3141c4afa199bfea3a78ba1fbfa /meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam | |
parent | d780562322092894f8f0545ab751cc34133f9b91 (diff) | |
download | meta-openembedded-contrib-8895bd0b73cd6b7ed933737506fd03cf44e42530.tar.gz |
netkit-rsh: add two patches and some fixes.
* Update the checksum of the license text to include all the
license text to instead of the previous only from two to
three line.
* Customize compile option such as CFLAGS= -D_GNU_SOURCE
and the specific install folder.
* Customize pam configuration file for rsh, rexec.
and rlogin to make them work.
* Update the line "server = /usr/bin/tcpd" to
"server = /usr/sbin/tcpd" for /etc/xinetd.d/{rexec,rlogin,rsh}.
* Fix some typo such as replace RPROVIDES_${PN}-rshd = "rshd"
to RPROVIDES_${PN}-server = "rshd"
* Fix host variable when rsh is renamed to other.
* Add rexec to support ipv6.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam new file mode 100644 index 0000000000..072327a76e --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/rsh.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 +# For root login to succeed here with pam_securetty, "rsh" must be +# listed in /etc/securetty. +auth required pam_nologin.so +auth required pam_securetty.so +auth required pam_env.so +account include common-account +session optional pam_keyinit.so force revoke +session include common-session +session required pam_loginuid.so |