News for hackers. Stuff that matters.
Re:FreeBSD deprecates all r-cmds (rcp, rlogin, etc.) by tyingq on Wednesday July 05, 2017 @08:15AM (#14701750)
==Rsh vs rlogin==

Rsh was made to run a remote command without a login shell. Like rsh remotehost <command>. If you omit <command> rsh does an execv() of rlogin.

==Rsh vs Rexec==

Rexec allows you to specify a password on the command line, rsh does not...it expects you to either use .rhosts, or enter the password interactively. Rexec also doesn't have the functionality where it invokes rlogin if you omit the command...the command is mandatory.

==Why?==

No idea. Yes, it's odd that it wasn't all made as a single client binary. There were also different daemons on the server side...rexecd, rshd, rlogind. Also fun, there was often another binary called rsh that had nothing to do with this rsh or remote logins. It was a restricted login shell so that you could have limited rights users.

There are no comments on this comment yet.