># uname -a
FreeBSD oleg.appm.prv 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Wed Apr 7 14:40:46 MSD 2004 root@oleg.appm.prv:/usr/src/sys/compile/OLEG i386
># ls -la /etc/ttys
-rw-r--r-- 1 root wheel 7470 Apr 5 12:57 /etc/ttys
># cat /etc/ttys
console none unknown off secure
#
ttyv0 "/usr/libexec/getty Pc" cons25r on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25r on secure
ttyv2 "/usr/libexec/getty Pc" cons25r on secure
ttyv3 "/usr/libexec/getty Pc" cons25r on secure
ttyv4 "/usr/libexec/getty Pc" cons25r on secure
ttyv5 "/usr/libexec/getty Pc" cons25r on secure
ttyv6 "/usr/libexec/getty Pc" cons25r on secure
ttyv7 "/usr/libexec/getty Pc" cons25r on secure
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" dialup off secure
ttyd1 "/usr/libexec/getty std.9600" dialup off secure
ttyd2 "/usr/libexec/getty std.9600" dialup off secure
ttyd3 "/usr/libexec/getty std.9600" dialup off secure
# Pseudo terminals
ttyp0 none network
ttyp1 none network
ttyp2 none network
ttyp3 none network
ttyp4 none network
ttyp5 none network
ttyp6 none network
ttyp7 none network
ttyp8 none network
ttyp9 none network
ttypa none network
ttypb none network
ttypc none network
......
># ls -la /dev/ttyp*
crw------- 1 root tty 5, 0 Sep 17 13:09 /dev/ttyp0
crw------- 1 root tty 5, 1 Sep 17 09:47 /dev/ttyp1
crw------- 1 root tty 5, 2 Sep 17 09:13 /dev/ttyp2
crw-rw-rw- 1 root wheel 5, 3 Sep 16 13:36 /dev/ttyp3
crw-rw-rw- 1 root wheel 5, 4 Sep 10 10:57 /dev/ttyp4
crw-rw-rw- 1 root wheel 5, 5 Sep 9 14:47 /dev/ttyp5
crw-rw-rw- 1 root wheel 5, 6 Sep 8 08:13 /dev/ttyp6
crw-rw-rw- 1 root wheel 5, 7 Sep 7 16:03 /dev/ttyp7
crw-rw-rw- 1 root wheel 5, 8 Sep 7 15:52 /dev/ttyp8
crw-rw-rw- 1 root wheel 5, 9 Aug 18 13:08 /dev/ttyp9
crw-rw-rw- 1 root wheel 5, 10 Aug 17 18:44 /dev/ttypa
crw-rw-rw- 1 root wheel 5, 11 Apr 5 16:48 /dev/ttypb
crw-rw-rw- 1 root wheel 5, 12 Apr 5 16:48 /dev/ttypc
crw-rw-rw- 1 root wheel 5, 13 Apr 5 16:48 /dev/ttypd
crw-rw-rw- 1 root wheel 5, 14 Apr 5 16:48 /dev/ttype
crw-rw-rw- 1 root wheel 5, 15 Apr 5 16:48 /dev/ttypf
crw-rw-rw- 1 root wheel 5, 16 Apr 5 16:48 /dev/ttypg
crw-rw-rw- 1 root wheel 5, 17 Apr 5 16:48 /dev/ttyph
crw-rw-rw- 1 root wheel 5, 18 Apr 5 16:48 /dev/ttypi
crw-rw-rw- 1 root wheel 5, 19 Apr 5 16:48 /dev/ttypj
crw-rw-rw- 1 root wheel 5, 20 Apr 5 16:48 /dev/ttypk
crw-rw-rw- 1 root wheel 5, 21 Apr 5 16:48 /dev/ttypl
crw-rw-rw- 1 root wheel 5, 22 Apr 5 16:48 /dev/ttypm
crw-rw-rw- 1 root wheel 5, 23 Apr 5 16:48 /dev/ttypn
crw-rw-rw- 1 root wheel 5, 24 Apr 5 16:48 /dev/ttypo
crw-rw-rw- 1 root wheel 5, 25 Apr 5 16:48 /dev/ttypp
crw-rw-rw- 1 root wheel 5, 26 Apr 5 16:48 /dev/ttypq
crw-rw-rw- 1 root wheel 5, 27 Apr 5 16:48 /dev/ttypr
crw-rw-rw- 1 root wheel 5, 28 Apr 5 16:48 /dev/ttyps
crw-rw-rw- 1 root wheel 5, 29 Apr 5 16:48 /dev/ttypt
crw-rw-rw- 1 root wheel 5, 30 Apr 5 16:48 /dev/ttypu
crw-rw-rw- 1 root wheel 5, 31 Apr 5 16:48 /dev/ttypv
># ls -la /dev/pty*
crw-rw-rw- 1 root wheel 6, 0 Sep 17 13:10 /dev/ptyp0
crw-rw-rw- 1 root wheel 6, 1 Sep 17 09:47 /dev/ptyp1
crw-rw-rw- 1 root wheel 6, 2 Sep 17 09:13 /dev/ptyp2
crw-rw-rw- 1 root wheel 6, 3 Sep 16 13:36 /dev/ptyp3
crw-rw-rw- 1 root wheel 6, 4 Sep 10 10:57 /dev/ptyp4
crw-rw-rw- 1 root wheel 6, 5 Sep 9 14:47 /dev/ptyp5
crw-rw-rw- 1 root wheel 6, 6 Sep 8 08:13 /dev/ptyp6
crw-rw-rw- 1 root wheel 6, 7 Sep 7 16:03 /dev/ptyp7
crw-rw-rw- 1 root wheel 6, 8 Sep 7 15:52 /dev/ptyp8
crw-rw-rw- 1 root wheel 6, 9 Aug 18 13:08 /dev/ptyp9
crw-rw-rw- 1 root wheel 6, 10 Aug 17 18:44 /dev/ptypa
crw-rw-rw- 1 root wheel 6, 11 Apr 5 16:48 /dev/ptypb
crw-rw-rw- 1 root wheel 6, 12 Apr 5 16:48 /dev/ptypc
crw-rw-rw- 1 root wheel 6, 13 Apr 5 16:48 /dev/ptypd
crw-rw-rw- 1 root wheel 6, 14 Apr 5 16:48 /dev/ptype
crw-rw-rw- 1 root wheel 6, 15 Apr 5 16:48 /dev/ptypf
crw-rw-rw- 1 root wheel 6, 16 Apr 5 16:48 /dev/ptypg
crw-rw-rw- 1 root wheel 6, 17 Apr 5 16:48 /dev/ptyph
crw-rw-rw- 1 root wheel 6, 18 Apr 5 16:48 /dev/ptypi
crw-rw-rw- 1 root wheel 6, 19 Apr 5 16:48 /dev/ptypj
crw-rw-rw- 1 root wheel 6, 20 Apr 5 16:48 /dev/ptypk
crw-rw-rw- 1 root wheel 6, 21 Apr 5 16:48 /dev/ptypl
crw-rw-rw- 1 root wheel 6, 22 Apr 5 16:48 /dev/ptypm
crw-rw-rw- 1 root wheel 6, 23 Apr 5 16:48 /dev/ptypn
crw-rw-rw- 1 root wheel 6, 24 Apr 5 16:48 /dev/ptypo
crw-rw-rw- 1 root wheel 6, 25 Apr 5 16:48 /dev/ptypp
crw-rw-rw- 1 root wheel 6, 26 Apr 5 16:48 /dev/ptypq
crw-rw-rw- 1 root wheel 6, 27 Apr 5 16:48 /dev/ptypr
crw-rw-rw- 1 root wheel 6, 28 Apr 5 16:48 /dev/ptyps
crw-rw-rw- 1 root wheel 6, 29 Apr 5 16:48 /dev/ptypt
crw-rw-rw- 1 root wheel 6, 30 Apr 5 16:48 /dev/ptypu
crw-rw-rw- 1 root wheel 6, 31 Apr 5 16:48 /dev/ptypv
># grep pty /sys/i386/conf/ТВОЕ_ЯДРО
pseudo-device pty # Pseudo-ttys (telnet etc)
># sysctl -a | grep securelevel
kern.securelevel: -1
># cat /etc/login.access
все # (заремлено)
Пожалуйста