[-- Moved to freebsd-questions from freebsd-bugs --]

On 2004-06-21 10:30, Alex Mitchell <[EMAIL PROTECTED]> wrote:
>
> I currently have FreeBSD 5.2.1 installed on an IBM xSeries 235.
> I have HHP Dolphin scanners that dial into a radius server (modem
> pool) which uses rlogin to transfer the scanner upload files to the
> IBM server.  I am using .hushlogin to suppress motd, but am still
> having issues with the 'Last login:...' appearing.

The "Last login:" message should not appear if you follo the
instructions in the manpage of login(1).

I just tested it and nothing gets printed:

    [EMAIL PROTECTED]:42]/home/giorgos$ ssh -l giorgos localhost
    Password: ********
    Last login: Fri Jun 25 23:42:09 2004 from gothmog
    Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
            The Regents of the University of California.  All rights reserved.

    FreeBSD 5.2-CURRENT (CELERON) #2: Thu Jun 24 22:18:29 EEST 2004

    [EMAIL PROTECTED]:42]/home/giorgos$ touch .hushlogin
    [EMAIL PROTECTED]:42]/home/giorgos$ exit
    logout
    Connection to gothmog closed.
    [EMAIL PROTECTED]:42]/home/giorgos$ ssh -l giorgos localhost
    Password:
    [EMAIL PROTECTED]:42]/home/giorgos$

Note that this was tested with ssh(1).  The rsh(1) output doesn't
contain "Last login: " messages, even if .hushlogin does not exist:

    [EMAIL PROTECTED]:02]/home/giorgos$ cat .rhosts
    127.0.0.1 giorgos
    [EMAIL PROTECTED]:03]/home/giorgos$ ls -ld .hushlogin
    ls: .hushlogin: No such file or directory
    [EMAIL PROTECTED]:03]/home/giorgos$ rsh localhost ls -ld .rhosts
    -rw-------  1 giorgos  giorgos  18 Jun 26 00:01 .rhosts
    [EMAIL PROTECTED]:04]/home/giorgos$

BTW, this is not a bug and does not belong in freebsd-bugs.
Try posting to freebsd-questions the next time :-)

- Giorgos

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to