tty's root restriction access...

Matthew D. Fuller fullermd at
Tue Jun 10 06:51:13 PDT 2003

On Tue, Jun 10, 2003 at 09:29:10AM -0400 I heard the voice of
Xpression, and lo! it spake thus:
>         Hi list, I wonder if I can restrict several users to access the
> system by some ttys, for example: root only can take access to the
> server/system by the first terminal...thanks

See /etc/ttys (ttys(5)), in particular the "secure" flag.  That's more
for local terminals

For remote access, see /etc/login.access (login.access(5)).

Matthew Fuller     (MF4839)   |  fullermd at
Systems/Network Administrator |

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"

More information about the freebsd-questions mailing list