SUMARY: Can't login as root

From: gonzalez_ar1@tsm.es
Date: Mon Nov 10 2003 - 06:45:51 EST


Thanks to all who answered my question.

All of you told me about a file (/etc/securettys) that was missed on my
system. As a result, i was not able to log in as root, neither create a new
one (other users has no permissions)

Dan Byrd told me to boot the system in single-user mode, mount a system
file and create the file using vi /etc/securettys

It worked, rebooting the system resulted in a success.

Thanks again.

Antonio R.

---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------

07/11/2003 14:19
"Roberto Hernando Velasco" <hervelro@jcyl.es>

Por favor, responda a <hervelro@jcyl.es>

Destinatarios: <gonzalez_ar1@tsm.es>
CC:
Asunto: RE: Can't login as root

Hola. Por tu correo supongo que eres español.

Quizás se haya modificado el fichero /etc/securettys no permitiendo entrar
desde la consola.

Puedes entrar en el sistema introducciendo el CD de instalación,
reiniciando y teclenado en la consola:

>> b dqa0

Con esto arranca la instalación. Di a todo que sí hasta que aparezca "Shell
Window" en alguna ventana, lo pulsas y ya accedes como root.

Renombra /etc/securettys y reinicia, a ver si ya se ha solucionado.

Un saludo

--
Roberto Hernando
Junta de Castilla y Léon
Gerencia de Servicios Sociales - Servicio de Informática
(983 412 201)
    > -----Mensaje original-----
    > De: tru64-unix-managers-owner@ornl.gov
    > [mailto:tru64-unix-managers-owner@ornl.gov]En nombre de
    > gonzalez_ar1@tsm.es
    > Enviado el: viernes 7 de noviembre de 2003 13:11
    > Para: tru64-unix-managers@ornl.gov
    > Asunto: Can't login as root
    >
    >
    > Hi everyone,
    >
    > We have a system runnig Tru64 5.1B. Until now it worked
    > fine but since
    > yesterday we have a very strange problem.
    >
    > When we try to login as root we get the message :"root
    > login refussed on
    > this terminal".  This has been usual when we try to log
    > from a remote
    > system, but now is different. We are not able to log as
    > root  from the
    > console.
    >
    > If we log as any other user everythig is ok, but we
    > cannot either do su-.
    >
    > Has anyone any idea about what is happenig? Will I need
    > to re-install the
    > system?
    >
    > Thanks in advance
    >
    >
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 14:02
Phil Baldwin <phil.baldwin@eurodis.com>
Destinatarios:    "'gonzalez_ar1@tsm.es'" <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
might want to look at /etc/securettys
it should have an entry for /dev/console
either that or root usr has been changed in /etc/passwd or isn't in the
'system' group in /etc/group anymore.
regards
Phil.
> -----Original Message-----
> From:     gonzalez_ar1@tsm.es [SMTP:gonzalez_ar1@tsm.es]
> Sent:     07 November 2003 12:11
> To: tru64-unix-managers@ornl.gov
> Subject:  Can't login as root
>
> Hi everyone,
>
> We have a system runnig Tru64 5.1B. Until now it worked fine but since
> yesterday we have a very strange problem.
>
> When we try to login as root we get the message :"root login refussed on
> this terminal".  This has been usual when we try to log from a remote
> system, but now is different. We are not able to log as root  from the
> console.
>
> If we log as any other user everythig is ok, but we cannot either do su-.
>
> Has anyone any idea about what is happenig? Will I need to re-install the
> system?
>
> Thanks in advance
 >
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 14:22
"Pat OBrien" <Pat.OBrien@choicepoint.com>
Destinatarios:    <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
someone has most likely removed the console from the securettys file. and
users attempting to su  to root are not in the system group.
-----Original Message-----
From: gonzalez_ar1@tsm.es [mailto:gonzalez_ar1@tsm.es]
Sent: Friday, November 07, 2003 7:11 AM
To: tru64-unix-managers@ornl.gov
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until now it worked fine but since
yesterday we have a very strange problem.
When we try to login as root we get the message :"root login refussed on
this terminal".  This has been usual when we try to log from a remote
system, but now is different. We are not able to log as root  from the
console.
If we log as any other user everythig is ok, but we cannot either do su-.
Has anyone any idea about what is happenig? Will I need to re-install the
system?
Thanks in advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 14:58
"Ryan Frantz" <rfrantz@acclamation.com>
Destinatarios:    <gonzalez_ar1@tsm.es>
CC:
Asunto:     Re: Can't login as root
My guess is that something has happened to your '/etc/securettys' file.
Normally, it has the following entries in it to allow console and CDE
logins
as root:
    /dev/console
    local:0
    :0
Without those, you'll be unable to login as root.  And unless you're root,
you can't edit that file to correct it.  The best thing to do is to boot
into single user mode and correct the file.  Unless you're familiar with
the
'ed' editor, you may need to brush up; I believe that is the only editor
available in single user mode.
Ryan Frantz
Senior Systems Engineer
Acclamation Systems, Inc
----- Original Message -----
From: <gonzalez_ar1@tsm.es>
To: <tru64-unix-managers@ornl.gov>
Sent: Friday, November 07, 2003 7:10 AM
Subject: Can't login as root
> Hi everyone,
>
> We have a system runnig Tru64 5.1B. Until now it worked fine but since
> yesterday we have a very strange problem.
>
> When we try to login as root we get the message :"root login refussed on
> this terminal".  This has been usual when we try to log from a remote
> system, but now is different. We are not able to log as root  from the
> console.
>
> If we log as any other user everythig is ok, but we cannot either do su-.
>
> Has anyone any idea about what is happenig? Will I need to re-install the
> system?
>
> Thanks in advance
>
>
>
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 15:17
"Dr Thomas.Blinn@HP.com" <tpb
Destinatarios:    gonzalez_ar1@tsm.es
CC:
Asunto:     Re: Can't login as root
> Hi everyone,
>
> We have a system runnig Tru64 5.1B. Until now it worked fine but since
> yesterday we have a very strange problem.
>
> When we try to login as root we get the message :"root login refussed on
> this terminal".  This has been usual when we try to log from a remote
> system, but now is different. We are not able to log as root  from the
> console.
>
> If we log as any other user everythig is ok, but we cannot either do su-.
>
> Has anyone any idea about what is happenig? Will I need to re-install the
> system?
>
> Thanks in advance
It sounds like your /etc/securettys file is missing or ccrrupted.  On
my V4.0G system it has these lines at the end:
/dev/console
local:0
:0
ptys
On my V5.1B system where I haven't added the "ptys" line to allow root
network logins, it just has the first three lines (and a lot of comments
before them).  If that file's missing, you can't login as root.  If the
/dev/console isn't there, you can't log in on the console.  If the two
lines for the X server aren't there, you can't login through X terminal
emulators.
You should be able to just restore that file or copy it from backups and
things will probably work again.  You may need to force the system to
halt and then boot to single user mode to recover, if you can't log in
as root to do it "on line".
Hope this helps.
Tom
   Dr. Thomas P. Blinn + Tru64 UNIX Software + Hewlett-Packard Company
 Internet: tpb@zk3.dec.com, thomas.blinn@compaq.com, thomas.blinn@hp.com
  110 Spit Brook Road, MS ZKO3-2/W17   Nashua, New Hampshire 03062-2698
   Alpha Tru64 UNIX kernel support              Phone:  (603) 884-0646
     ACM Member: tpblinn@acm.org         PC@Home: tom@felines.mv.net
  Worry kills more people than work because more people worry than work.
      Keep your stick on the ice.        -- Steve Smith ("Red Green")
     My favorite palindrome is: Satan, oscillate my metallic sonatas.
                                -- Phil Agre, pagre@alpha.oac.ucla.edu
     Yesterday it worked / Today it is not working / UNIX is like that
   -- apologies to Margaret Segall
  Opinions expressed herein are my own, and do not necessarily represent
  those of my employer or anyone else, living or dead, real or imagined.
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 15:38
Steven Muñoz R. <smunoz@datadec.co.cr>
Destinatarios:    "'gonzalez_ar1@tsm.es'" <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
Ya intentaste añadir la línea
ptys
en el archivo /etc/securettys?
Steven Muñoz Rodríguez
Servicios / Soporte de Software
-----Original Message-----
From: gonzalez_ar1@tsm.es [mailto:gonzalez_ar1@tsm.es]
Sent: Friday, November 07, 2003 6:11 AM
To: tru64-unix-managers@ornl.gov
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until now it worked fine but since
yesterday we have a very strange problem.
When we try to login as root we get the message :"root login refussed on
this terminal".  This has been usual when we try to log from a remote
system, but now is different. We are not able to log as root  from the
console.
If we log as any other user everythig is ok, but we cannot either do su-.
Has anyone any idea about what is happenig? Will I need to re-install the
system?
Thanks in advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 15:48
"Dan Byrd" <byrdmandan@msn.com>
Destinatarios:    <gonzalez_ar1@tsm.es>
CC:
Asunto:     Re: Can't login as root
Look at the file /etc/securettys and make sure that /dev/console is still
in it. If you can't login as root and you need to file a system file, halt
the  system and boot to single-user mode.
>>> boot -flag s
# mount -u /
# mount /usr
# mount /var
# vi /etc/securettys     to fix the file
# init 3
dan
----- Original Message -----
From: gonzalez_ar1@tsm.es
To: tru64-unix-managers@ornl.gov
Sent: Friday, November 07, 2003 7:10  AM
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until  now it worked fine but since
yesterday we have a very strange  problem.
When we try to login as root we get the message :"root login  refussed on
this terminal".  This has been usual when we try to log  from a remote
system, but now is different. We are not able to log as  root  from the
console.
If we log as any other user everythig  is ok, but we cannot either do su-.
Has anyone any idea about what is  happenig? Will I need to re-install the
system?
Thanks in  advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 17:50
Iain Barker <ibarker@aastra.com>
Destinatarios:    "'gonzalez_ar1@tsm.es'" <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
Login on the local console, then edit /etc/securettys and add an entry
"ptys" to allow telnet access.
-----Original Message-----
From: gonzalez_ar1@tsm.es [mailto:gonzalez_ar1@tsm.es]
Sent: Friday, 07 November, 2003 07:11
To: tru64-unix-managers@ornl.gov
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until now it worked fine but since
yesterday we have a very strange problem.
When we try to login as root we get the message :"root login refussed on
this terminal".  This has been usual when we try to log from a remote
system, but now is different. We are not able to log as root  from the
console.
If we log as any other user everythig is ok, but we cannot either do su-.
Has anyone any idea about what is happenig? Will I need to re-install the
system?
Thanks in advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 18:11
Michael Bucholtz <mbucholtz@ceiss.org>
Destinatarios:    "'gonzalez_ar1@tsm.es'" <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
It looks like maybe the /etc/securettys file got corrupted or something.
To fix it - boot the system in single user mode, mount the files and check
the /etc/securettys file.
It should contain:
#  <device name>
/dev/console
local:0
:0
_________________________________
Michael Bucholtz
Technical Analyst, Colleague Operations
CEISS - Research & IT Solutions
4th Floor, 1483 Douglas Street
Victoria, BC  V8W 3K4  CANADA
Email mbucholtz@ceiss.org
Phone 250.978.4237
Fax 250.413.4401
Web www.ceiss.org
-----Original Message-----
From: gonzalez_ar1@tsm.es [mailto:gonzalez_ar1@tsm.es]
Sent: Friday, November 07, 2003 4:11 AM
To: tru64-unix-managers@ornl.gov
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until now it worked fine but since
yesterday we have a very strange problem.
When we try to login as root we get the message :"root login refussed on
this terminal".  This has been usual when we try to log from a remote
system, but now is different. We are not able to log as root  from the
console.
If we log as any other user everythig is ok, but we cannot either do su-.
Has anyone any idea about what is happenig? Will I need to re-install the
system?
Thanks in advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
07/11/2003 22:22
"Robert M. Lang" <lang@isis.mit.edu>
Destinatarios:    gonzalez_ar1@tsm.es
CC:
Asunto:     Re: Can't login as root
On Fri, 7 Nov 2003 gonzalez_ar1@tsm.es wrote:
> Hi everyone,
>
> We have a system runnig Tru64 5.1B. Until now it worked fine but since
> yesterday we have a very strange problem.
>
> When we try to login as root we get the message :"root login refussed on
> this terminal".  This has been usual when we try to log from a remote
> system, but now is different. We are not able to log as root  from the
> console.
>
> If we log as any other user everythig is ok, but we cannot either do su-.
>
> Has anyone any idea about what is happenig? Will I need to re-install the
> system?
>
> Thanks in advance
Check the file /etc/securettys
There should be lines in there:
/dev/console
local:0
:0
This covers (in order) the console terminal (non-windows) and then the
various "x" options (mwm, xlogin, CDE).
Try logging in using the "fail-safe" option from x-login. If that works,
you have a config problem.
Just out of curiosity - have you checked to see if the OSF-USR license has
expired?
regards,
rml
------------------------------------------------------------------------------
Bob Lang              Room N42-140Q            |  This space for rent
Consultant            MIT unix-vms-help        |
Voice:617-253-7438    FAX: 617-258-9535        |
------------------------------------------------------------------------------
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
08/11/2003 00:13
"Copeland KCK, Rich" <Rich.Copeland.KCK@gentiva.com>
Destinatarios:    <gonzalez_ar1@tsm.es>
CC:
Asunto:     RE: Can't login as root
Use your distribution CDrom and boot your system from it and you can
mount your system disk and remove the password from root.  *** Be
careful when mounting AdvFS root file systems not to erase them. ***
Regards,
Rich Copeland KCK
Gentiva Health Services - Central Support Kansas
Project Manager - Systems Engineering
12900 Foster, Overland Park, KS 66213-2649
(913) 814-2880 - Fax (913) 814-5880
Rich.Copeland.KCK@gentiva.com
-----Original Message-----
From: gonzalez_ar1@tsm.es [mailto:gonzalez_ar1@tsm.es]
Sent: Friday, November 07, 2003 6:11 AM
To: tru64-unix-managers@ornl.gov
Subject: Can't login as root
Hi everyone,
We have a system runnig Tru64 5.1B. Until now it worked fine but since
yesterday we have a very strange problem.
When we try to login as root we get the message :"root login refussed on
this terminal".  This has been usual when we try to log from a remote
system, but now is different. We are not able to log as root  from the
console.
If we log as any other user everythig is ok, but we cannot either do
su-.
Has anyone any idea about what is happenig? Will I need to re-install
the
system?
Thanks in advance
---------------------- Remitido por Antonio Ramon Gonzalez
Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/2003
12:50 ---------------------------
09/11/2003 03:01
Piotr Grzybowski <merlin@alek.if.uj.edu.pl>
Destinatarios:    gonzalez_ar1@tsm.es
CC:
Asunto:     Re: Can't login as root
 Hello!
 have you checked the file
/etc/securettys
? i guess if you do not have /dev/console there then you cannot login to
root from console, maybe you have :0 or something like local:0 then you
may be able to login from x. the su works only if you are member of
group called system, depends on configuration, but the default is that
i belive.
 if the file is allright and you are member of system and you still
cant login to root, then i must think;-)
 if /etc/securettys does not contain /dev/console then add it there,
by switching to single user.
 yours,
pg


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:43 EDT