SUMMARY: changing netmask and allowing rlogin for root

From: Thang Victor Dinh (tdinh@mail.irvine-sensors.com)
Date: Thu Jun 13 1996 - 16:18:09 CDT


Thanks you all for responding to my post. I had a typo in my original post which misled almost everyone to believe that my syntax to inconfig was the problem. Sorry ! I did ran the command "ifconfig le0 netmask 255.255.255.0". Special thanks to Greg Kranz (who pointed out that the interface has to be down first) and Mike Varney (who reminded that ifconfig shows the netmask in hex) for their correct response.

Thank you to:
bleary@state.ma.us
jason Nooman
Ira Childress
Sanford Whitehouse
Amy Hollander
Duane R. Larkin
Geroge R. Golfe
Denis Beauchemin
Mike Varney
Miquel Cabanas
Mark Anderson
Greg Kranz
Roger Klorese
John Bradley
Rasana Atreya
Nikos George

ORIGINAL POST

system: sparc10 with solaris 2.5

1. how do you change the netmasks ? I have tried "ifconfig le0 255.255.255.0", but the output of "ifconfig le0" doesn't show the change. I have also tried to put it in the /etc/netmasks file. That also didn't seem to do it.

2. I believe on solaris 2.5, there is a security protection that would not allow root to rlogin to another station. If you try, it returns an error message something like "no console ...". How do you turn this off so that root can rlogin ?

SOLUTIONS:

1. (a) add "192.168.0.0 255.255.255.0" to /etc/netmasks file and reboot for permanent OR (b) just til next rebooot, take the interface down first with "ifconfig le0 down" and then "ifconfig le0 netmask 255.255.255.0" Remember the output of "ifconfig le0" will show the netmask in hex
255.255.255.0 = ffffff00.
2. go to /etc/default/login and comment out the line
        CONSOLE=/dev/console



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:01 CDT