Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by raldi on Wednesday July 05, 2017 @02:22AM
(#14700297)
slogin is just a symlink to ssh, and sexec does not exist. So the s-commands' manpages tell me nothing about the difference between rsh, rlogin, and rexec, or why all three needed to be created.
[ Parent
| on HN ]
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by sigjuice on Wednesday July 05, 2017 @02:25AM
(#14700305)
rsh, rlogin and rexec each have their own man pages, which you should be able to find on freebsd.org if google is being difficult.
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by JdeBP on Wednesday July 05, 2017 @03:01AM
(#14700405)
The irony here is that these manual pages are the very things being patched in the headlined message. Their exact locations in the source tree, and some of their contents, are right there in front of us.
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by sigjuice on Wednesday July 05, 2017 @03:08AM
(#14700429)
So read the older man pages? Why is this a problem? You can also easily read the man pages for a specific version of FreeBSD here https://www.freebsd.org/cgi/man.cgi
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by raldi on Wednesday July 05, 2017 @02:32AM
(#14700320)
Right. They say that rsh can be used to get a login or run a command on a remote host. So why do the other two commands exist? In what situations would a person have wanted to use rlogin or rexec instead of rsh?
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.)
by sigjuice on Wednesday July 05, 2017 @03:04AM
(#14700416)
Maybe rexec appeared first? And when rsh arrived later, they still kept rexec around? Perhaps they had a lot of shell scripts that contained "rexec" and didn't want to bother changing them to "rsh"? The actual reason is probably so mundane that maybe there is no accurate historical information on this topic.