How do I enable root login via telnet on Solaris 2.3?

How do I enable root login via telnet on Solaris 2.3?

Post by Mike Ban » Thu, 05 Jan 1995 23:52:55



I have a Solaris 2.3 Voyager system in a classified environment
that I would like to enable root logins via telnet.  Currently
it logs you right off because you're not on the console.
How do I change this to let root login via a telnet session?

Thanks.

--

Johns Hopkins University / Applied Physics Laboratory

 
 
 

How do I enable root login via telnet on Solaris 2.3?

Post by Luca Po » Fri, 06 Jan 1995 01:05:08



...
Quote:>How do I change this to let root login via a telnet session?

Edit /etc/defaults/login and put a "#" in front of "CONSOLE=/dev/console" line.

Regards,
Luca Polo.
--
+-----------------------------------------++---------------------------+


| address and phone numbers)              || Universita` di Padova.    |

 
 
 

How do I enable root login via telnet on Solaris 2.3?

Post by Casper H.S. D » Fri, 06 Jan 1995 01:16:29



>I have a Solaris 2.3 Voyager system in a classified environment
>that I would like to enable root logins via telnet.  Currently
>it logs you right off because you're not on the console.
>How do I change this to let root login via a telnet session?

The solaris FAQ says:

3.7) Why can't I rlogin/telnet in as root?

    >... when I try to rlogin as root ...
    >it gives me the message "Not on system console
    >Connection closed.".  What have I left out?

    Solaris 2 comes out of the box a heck of a lot more secure than
    Solaris 1.  There is no '+' in the hosts.equiv.  root logins are not
    allowed anywhere except the console.  All accounts require passwords.
    In order to allow root logins over the net, you need to edit the
    /etc/default/login file and comment out or otherwise change the
    CONSOLE= line.

    /etc/hosts.equiv is still supported, but there is no default.

    This file's CONSOLE entry can actually be used in a variety of ways:

    1) CONSOLE=/dev/console (default) - direct root logins only on console
    2) CONSOLE=/dev/ttya - direct root logins only on /dev/ttya
    3) CONSOLE= - direct root logins disallowed everywhere
    4) #CONSOLE (or delete the line) - root logins allowed everywhere

    --- end of excerpt from the FAQ

Questions marked with a * or + have been changed or added since
the FAQ was last posted

The most recently posted version of the FAQ is available from
ftp.fwi.uva.nl in directory /pub/solaris

 
 
 

How do I enable root login via telnet on Solaris 2.3?

Post by Matus Uhlar Softwa » Fri, 06 Jan 1995 05:17:37


: I have a Solaris 2.3 Voyager system in a classified environment
: that I would like to enable root logins via telnet.  Currently
: it logs you right off because you're not on the console.
: How do I change this to let root login via a telnet session?

Try to read FAQ or /etc/default/login
you find answer:
comment out CONSOLE=/dev/console in /etc/default/login

but you decrease security on your system...

--
Matus Uhlar (Fantomas on IRC),
Computer Centre of Technical University in Kosice, Slovakia

 
 
 

How do I enable root login via telnet on Solaris 2.3?

Post by Fletcher.Gl.. » Fri, 06 Jan 1995 02:23:53



Quote:> I have a Solaris 2.3 Voyager system in a classified environment
> that I would like to enable root logins via telnet.  Currently
> it logs you right off because you're not on the console.
> How do I change this to let root login via a telnet session?

Comment out the CONSOLE line in /etc/default/login.