*BSD News Article 85520


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!arclight.uoregon.edu!hammer.uoregon.edu!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!visi.com!dimensional.com!dimensional.com!not-for-mail
From: mfuhr@dimensional.com (Michael Fuhr)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: remote access for root
Date: 23 Dec 1996 11:48:38 -0700
Organization: Dimensional Communications
Lines: 21
Message-ID: <59mk67$6q3@nova.dimensional.com>
References: <32BEC580.539D@cegt201.bradley.edu>
NNTP-Posting-Host: nova.dimensional.com
X-Newsreader: NN version 6.5.1 (NOV)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33015

[cc to author]

Mike Shover <mikefish@cegt201.bradley.edu> writes:

>is there any way to allow root to login from anywhere but the console? 
>i'd like to telnet to the machine, even though it is right next to my
>other workstation (i only have 1 monitor).  any help would be great. 
>please mail me; i don't read the newsgroups too often.  

I prefer to log in as a normal user and su, but if you really want to
allow remote root logins then edit /etc/ttys and add the word "secure"
to several or all of the pseudo terminals, like this:

      ttyp0   none         network secure

You should HUP init (kill -HUP 1) after editing /etc/ttys, but it
doesn't appear necessary if you edit only terminals with "none" in the
second field.
-- 
Michael Fuhr
http://www.dimensional.com/~mfuhr/