<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 10, 2005 1:55 PM
Subject: [work] Re: [slack-users] Login do Root no tty1


Opa
...

>  Obs. No tty1 eu consigo logar com outros usu�rios, mas com o root eu n�o
>  consigo.
>
>  arquivo etc/inittab
>
>  # These are standard console login...
>  c1:1235:respawn:/sbin/agetty 38400 tty1 linux
>  c2:1235:respawn:/sbin/agetty 38400 tty2 linux
>  c3:1235:respawn:/sbin/agetty 38400 tty3 linux
>  c4:1235:respawn:/sbin/agetty 38400 tty4 linux
>  c5:1235:respawn:/sbin/agetty 38400 tty5 linux
>  c6:12345:respawn:/sbin/agetty 38400 tty6 linux
>
>
>  arquivo etc/securetty
>
>  # These are the ttys on...
>  tty1
>  tty2
>  tty3
>  tty4
>  tty5
>  tty6
>
>

de uma olhada no /etc/login.defs

# If defined, either full pathname of a file containing device names or
# a ":" delimited list of device names.  Root logins will be allowed only
# upon these devices.
#
CONSOLE         /etc/securetty
#CONSOLE        console:tty01:tty02:tty03:tty04

neste caso ele consulta o /etc/securetty... o teu pode estar ao
contrario e nao
ter o tty1

>  Obrigado pela aten��o,
>  Michael Rothenberger
>
[]�s
JOse
__________________________________________________________
Resposta:
__________________________________________________________

Primeiramente obrigado pela dica sobre este arquivo /etc/login.defs. Ao
editar este arquivo na minha m�quina ele se encontrava exatamente desta
mesma forma abaixo:

# If defined, either full pathname of a file containing device names or
# a ":" delimited list of device names.  Root logins will be allowed only
# upon these devices.
#
CONSOLE         /etc/securetty
#CONSOLE        console:tty01:tty02:tty03:tty04

Aqui ele mostra que esta fazendo a pesquisa no arquivo /etc/securetty e este
pelo visto tamb�m est� editado corretamente como j� mostrei acima.

Neste caso eu fiz o seguinte eu COMENTEI a linha CONSOLE /etc/securetty e
TIREI o coment�rio da linha abaixo.

Conclus�o: n�o consegui logar como root em nenhum terminal, e da� eu fiz um
boot com o cd do Slax para poder alterar o arquivo login.defs para como j�
estava antes. Bem, o problema continua da mesma forma ainda, eu n�o consigo
logar como root no terminal tty1 e com outros usu�rios eu consigo logar
neste terminal. A minha �nica sa�da at� ent�o � qdo acabo de ligar o micro
entrar no tty2 para poder entrar como root.

Obs. A tecla F1 est� funcionando..... hehehehe.... mas mesmo assim valeu
tamb�m pela dica.....

Abra�os,
Michael Rothenberger

Rothe W Master - Laborat�rio de Inform�tica
http://geocities.yahoo.com.br/rothewmaster
Projetos e Administra��o de Redes, Manuten��o e Vendas
Solu��es em Servidores Microsoft e Linux Slackware
Fone / fax : 55 (47) 396-7444
Celular : (47) 9952-8769
ICQ/UIN : 313-646-715
MSN : [EMAIL PROTECTED]
Web Cam do Laborat�rio: http://rothewmaster.businesswebcam.com/
Brusque - Santa Catarina

GUS-BR - Grupo de Usuarios Slackware - BR

...::: http://slax.linux-live.org/ :::...

-- 
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a