* Re: rhosts does not work???
2000-09-07 8:27 rhosts does not work??? Sahil
@ 2000-09-07 9:59 ` Stephen C. Tweedie
0 siblings, 0 replies; 2+ messages in thread
From: Stephen C. Tweedie @ 2000-09-07 9:59 UTC (permalink / raw)
To: Sahil; +Cc: linux-mm
Hi,
On Thu, Sep 07, 2000 at 01:27:51PM +0500, Sahil wrote:
> I have been trying to put .rhosts with '+ +' in it but it does not work.
> Can any body tell me the substitute??
FIrst, this is the wrong mailing list for this, so please take the
rest of this topic off-list!
Second, .rhosts should work fine, but (just as for any unix) you need
to be very careful with the permissions on both the .rhosts file and the
directory containing it. Both should have no group write, in
particular, or else rsh will complain.
> How to define the principles for .klogin (kerberos)??
Do you already have a master KDC? If so, you can just use kadmin to
generate new principals. If not, read the info pages on setting up
the KDC.
gkadmin is usually in /usr/kerberos/sbin/kadmin. You need to have an
admin principle set up to begin with --- you will already have done
that if you have Kerberos running at all. New principals are added
with the "add_principal" command, and their passwords set with
"change_password". Once you have a principal set for your user ID,
"kinit" to login (or "kinit -f", which I normally use, to obtain
tickets which can be forwarded to other hosts). Then all you need for
kerberised login is a ~/.k5login (~/.klogin is only for Kerberos 4,
and on Linux I assume you have krb5). Just list the authorised
principals in there.
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread