Secure TTY on a 3B2
Craig Campbell
craig at attcan.UUCP
Wed Oct 10 04:55:29 AEST 1990
With regards to being able to access "root" on various systems via a TCP link,
I would like to suggest the following scenario.
WARNING: This does not require SOURCE CODE or Kernel rebuilds, so those
who prefer difficult solutions, hit 'n' now. 8-)
First, you must be root on the system you are starting on. Log in as anyone
and then su. This is the only su you will require. Now on any other system
you wish to rlogin to, there must exist an entry for your current system in
both /etc/hosts and /.rhosts.
That's it. That's all. Good luck, have fun, etc....
(P.S. I am not a TCP/IP guru, this is just standard practice. It will work
for any user, not just root. It would appear that rlogin first
translates your current id to a login name, and then checks on the
destination host for a) that login name and b) a valid entry in the
.rhosts file in the home directory of that login. If the check
succeeds, then you're in without a login or passwd check.)
craig
Better to remain silent and be thought a fool,
than to open your mouth and remove all doubt.
- I have no idea.
More information about the Comp.sys.att
mailing list