[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Release?
From: |
Joachim Gabler |
Subject: |
Re: Release? |
Date: |
Fri, 23 Feb 2001 16:49:36 +0100 (MET) |
Hi,
> ...
> > >
> > > The last was spawning /bin/login with the right argument.
> >
> > There is also still a problem - if I have the terminal handling working (by
> > not using streams), login still asks for a password - ignoring .rhosts.
>
> Yes this is one of the thing, when I looked at the login(1) I think you have
> to pass '-r' (when __check_rhost is set) to get it to look at ~/.rhost
> Unfortunately the information in the man page is not really helpfull, so
> it is a try and error scheme.
You can use -h <host> <termtype>, this works (rlogind.c):
#ifdef SOLARIS
execle(PATH_LOGIN, "login", "-p",
"-h", hostname, term, "-f", "--", lusername, NULL,
env);
#else
execle(PATH_LOGIN, "login", "-p",
"-h", hostname, "-f", "--", lusername, NULL, env);
#endif
} else
#ifdef SOLARIS
execle(PATH_LOGIN, "login", "-p",
"-h", hostname, term, "--", lusername, NULL, env);
#else
execle(PATH_LOGIN, "login", "-p",
"-h", hostname, "--", lusername, NULL, env);
#endif
I couldn't check it in yet, as I can not access the CVS tree yet - hopefully
after setting the ssh
public key it will work.
Joachim
>
> >
> > I'm on vacation the next two weeks, but can try to continue when I'm
> > back.
>
> Allright, thanks for the pointers, base on your comments and if I can
> get my hand on Solaris box(should have one in a week), we can get this to
> work.
>
> > Best regards,
>
> Later,
>
> --
> alain
>
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Joachim Gabler Tel: +49 941 3075-233 (x60233)
Sun Microsystems GmbH Fax: +49 941 3075-222 (x60222)
Dr.-Leo-Ritter-Str. 7 mailto:address@hidden
D-93049 Regensburg http://www.sun.de