~/.rhosts: put my username in there too?

George C. Kaplan gckaplan at sag4.ssl.berkeley.edu
Sat Dec 1 19:40:15 AEST 1990


In article <1990Oct30.194948.2439 at eua.ericsson.se> per at erix.ericsson.se (Per Hedeland) writes:
>There is however one case where the presence of a username can make a
>difference, namely if two or more users (=usernames) share a home directory

Usernames in ~/.rhosts files can also be useful to control access to
shared accounts.  At our site there are several special-purpose group
accounts that can each be used by several people.  (Don't ask why).
Rather than set these up as normal accounts, with passwords that
gradually become widely known, we're now setting them up with no
acceptable password (ie. a '*' in the passwd field), so you can't just
login.  Instead, the authorised users are in the ~/.rhosts file; they
login as themselves first, then rlogin to the group account.

George C. Kaplan                Internet:  gckaplan at ssl.berkeley.edu
Center for EUV Astrophysics                gckaplan%ssl at jade.berkeley.edu
University of California        UUCP:  ...!ucbvax!sunspot.ssl!gckaplan
Berkeley, CA  94720             (415) 643-5651



More information about the Comp.unix.shell mailing list