|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Peter Svistunov 2:5070/254 28 Jun 2001 23:28:33 To : Mikhail Marchencov Subject : Re: Hе могу залогиниться рутом по SSH2 -------------------------------------------------------------------------------- MM> Сабж. Простым юзером получается. Подскажите, где копать, или чего не MM> дочитал. Маны по SSH прочел, но там ничего такого не нашел. - ------------------------------------------------------------------------ # $FreeBSD: src/etc/etc.i386/ttys,v 1.8 2000/01/29 12:18:03 obrien Exp $ # @(#)ttys 5.1 (Berkeley) 4/17/89 # # This file specifies various information about terminals on the system. # It is used by several different programs. Common entries for the # various columns include: # # name The name of the terminal device. # # getty The program to start running on the terminal. Typically a # getty program, as the name implies. Other common entries # include none, when no getty is needed, and xdm, to start the # X Window System. # # type The initial terminal type for this port. For hardwired # terminal lines, this will contain the type of terminal used. # For virtual consoles, the correct type is cons25. Other # common values include network for network connections on # pseudo-terminals, dialup for incoming modem ports, and unknown # when the terminal type cannot be predetermined. # # status Must be on or off. If on, init will run the getty program on # the specified port. If the word "secure" appears, this tty # allows root login. # # name getty type status comments # # If console is marked "insecure", then init will ask for the root password # when going to single-user mode. >>>>>>>>> прочитай вышеотквоченное полностью и в описании >>>>>>>>> псевдотерминалов проставь нужное слово. >>>>>>>>> А вообще-то это нафиг не нужно, или ты постоянно под рутом? console none unknown off secure # ttyv0 "/usr/libexec/getty Pc" cons25r on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25r on secure [...skipped by petrucco...] # Pseudo terminals ttyp0 none network ttyp1 none network [...skipped by petrucco...] - ------------------------------------------------------------------------ -- //petrucco --- tin/1.5.8-20010221 ("Blue Water") (UNIX) (FreeBSD/4.3-STABLE (i386)) * Origin: IMTS - Sigma Station (2:5070/254.0) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/44617956d4e00.html, оценка из 5, голосов 10
|