UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2449 - September 15, 2005
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
AUTOMATIC LOGIN TO REMOTE HOSTS
Consider two hosts.
host1.domain.com
host2.domain.com
>From hosts(user:deepak), you wish to logon to host1(user:paul).
Paul would create a .rhosts file in his directory
chmod 744 .rhosts
(No write permission for others) The first line would contain host1.domain.com deepak
Now, deepak should be able to logon to host2.domain.com as user paul by using rlogin.
Deepak will type e.g
rlogin hosts.domain.com -l paul
And he should be in.
--------------------------------------------------------------------------
To Subscribe: http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe: http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU ADVISES THAT
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
Unix Guru Universe - www.ugu.com - tips@ugu.com - Copyright 1994-2001
==========================================================================
Tidak ada komentar:
Posting Komentar