Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 19:50:52 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        "saifuddin Abd. Salam" <saif_addin@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: root login
Message-ID:  <20020310194646.S99093-100000@catalyst.sasknow.net>
In-Reply-To: <20020311011301.61924.qmail@web11405.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
saifuddin Abd. Salam wrote to freebsd-questions@FreeBSD.ORG:

> How to setup root have to login at tty0 only?

Edit /etc/ttys. Set all of the other virtual terminals on the system
to "insecure".  For network terminals (ttypXX) the default is
"network", which also prevents root logins. This will disable root
logins for anything but ttyv0. Note that it is still possible to
obtain root access on the other terminals if the user is a member of
(or compromises an account in) the wheel group, and knows or can find
the root password. Not to mention all of the other root exploits that
are out there. :-)

Hope this helps,
- Ryan



> thk's
> Saifuddin
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>

-- 
  Ryan Thompson <ryan@sasknow.com>
  Network Administrator, Accounts

  SaskNow Technologies - http://www.sasknow.com
  #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2

        Tel: 306-664-3600   Fax: 306-664-1161   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020310194646.S99093-100000>