bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Bug#108164: rlogin does not work for non-root]


From: Alain Magloire
Subject: Re: address@hidden: Bug#108164: rlogin does not work for non-root]
Date: Mon, 13 Aug 2001 19:58:14 -0400 (EDT)

> 
> Hi,
> 
> Here a bug reported to the Debian BTS by a fellow Hurd developer.

- rlogin has to be setuid root.
- It's working on GNU/Linux because the executables were
  install properly (rlogin, rsh, ping etc ..) must be setuid.

> 
> ----- Forwarded message from Neal H Walfield <address@hidden> -----
> 
> Subject: Bug#108164: rlogin does not work for non-root
> Reply-To: Neal H Walfield <address@hidden>, address@hidden
> From: Neal H Walfield <address@hidden>
> To: address@hidden
> 
> Package: inetutils
> Version: 1.3.2-9
> 
> rlogin does not work for non-root users.
> 
> Normally, rlogin attempts to connect to the server using a
> port < IPPORT_RESERVED so that, if configured correctly, the rlogin
> server will not prompt for a password.  If the rlogin client fails to
> bind to a port < IPPORT_RESERVED (as it will for all non-root users), it
> will attempt to connect using a port >= IPPORT_RESERVED.  inetutils
> fails to do this.  I have confirmed that inetutils' version of rlogin
> shows the same behavior when running under GNU/Linux:
> 
>       address@hidden:~/inetutils-1.3.2/rlogin (0)$ ./rlogin localhost
>       rcmd: socket: Permission denied
>       address@hidden:~/inetutils-1.3.2/rlogin (1)$ sudo ./rlogin \
>       > localhost
>       Password:
>       Last login: Fri Aug  3 ...
>       [snip]
>       address@hidden:~$
> 
> Using the rlogin supplied with GNU/Linux reveals the expected behavior:
> 
>       address@hidden:~/inetutils-1.3.2/rlogin (1)$ rlogin localhost
>       Password:
>       Last login: Fri Aug  3 ...
>       [snip]
>       address@hidden:~$
> 
> I have confirmed that this is the latest version of inetutils available
> at ftp.gnu.org.
> 
> Thanks.
> 
> 
> 
> 
> ----- End forwarded message -----
> 
> -- 
> `Rhubarb is no Egyptian god.' Debian http://www.debian.org address@hidden
> Marcus Brinkmann              GNU    http://www.gnu.org    address@hidden
> address@hidden
> http://www.marcus-brinkmann.de
> 
> _______________________________________________
> Bug-inetutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-inetutils
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]