Subject: Re: automatic login
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 07/03/2002 21:47:19
--NMuMz9nt05w80d4+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 03, 2002 at 09:33:26PM +0200, Wojciech Puchar wrote:
> tried rsh/rlogin without success with .rhosts file.
>=20
> what may i doing wrong?
>=20
> tried at /root/.rhosts all of that:
> wojtek@localhost
> localhost
> 127.0.0.1
> wojtek@127.0.0.1
>=20
> and then rlogin root@localhost from user wojtek
>=20
> got:
>=20
> Jul  3 21:32:48 chylonia rlogind[15048]: wojtek@localhost as root: iruser=
ok failed
>=20
> what i'm doing wrong?

your format is wrong.  the lines localhost and 127.0.0.1 are fine, while
your uid is 0 you can login to this account without a password.

the other lines have bad format, you want to use:

127.0.0.1 wojtek
localhost wojtek


for further information do 'man rhosts'.

regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--NMuMz9nt05w80d4+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9I1THWc63C347cOIRAk77AKCSveSYVhN2Fob6Kf0ytnKZPiX/2QCeIoZc
hy5rVC1B4s1u5PuYiToKEOw=
=H6DP
-----END PGP SIGNATURE-----

--NMuMz9nt05w80d4+--