From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gonzalez_ar1@tsm.es Newsgroups: gmane.os.tru64.managers Subject: SUMARY: Can't login as root Date: Mon, 10 Nov 2003 12:45:51 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1068464873 17498 80.91.224.253 (10 Nov 2003 11:47:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2003 11:47:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Nov 10 12:47:50 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AJAWK-0003wa-00 for ; Mon, 10 Nov 2003 12:47:48 +0100 Original-Received: (qmail 14271 invoked by uid 5); 10 Nov 2003 11:47:37 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14256 invoked by uid 49493); 10 Nov 2003 11:47:36 -0000 Original-Received: from gonzalez_ar1@tsm.es by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.5/5.0):. Processed in 1.491862 secs); 10 Nov 2003 11:47:36 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 10 Nov 2003 11:47:35 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HO400C3PWRAK0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Nov 2003 06:47:34 -0500 (EST) Original-Received: from mezas.tsm.es ([195.235.179.50]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HO400D32WR00S@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Nov 2003 06:47:27 -0500 (EST) Original-Received: from abantos.tsm.inet ([10.65.17.1]) by mezas.tsm.es (Lotus Domino Release 5.0.11) with ESMTP id 2003111012441757:341588 ; Mon, 10 Nov 2003 12:44:17 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 X-MIMETrack: Serialize by Router on abantos/TSM(Release 5.0.9a |January 7, 2002) at 10/11/2003 12:46:06, Itemize by SMTP Server on mezas/SMTPTME(Release 5.0.11 |September 30, 2002) at 10/11/2003 12:44:18, Serialize by Router on mezas/SMTPTME(Release 5.0.11 |September 30, 2002) at 10/11/2003 12:45:38, Serialize complete at 10/11/2003 12:45:38 Sensitivity: Xref: main.gmane.org gmane.os.tru64.managers:5770 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5770 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/20= 03 12:50 --------------------------- 07/11/2003 14:19 "Roberto Hernando Velasco" Por favor, responda a Destinatarios: CC: Asunto: RE: Can't login as root Hola. Por tu correo supongo que eres espa=F1ol. Quiz=E1s se haya modificado el fichero /etc/securettys no permitiendo e= ntrar desde la consola. Puedes entrar en el sistema introducciendo el CD de instalaci=F3n, reiniciando y teclenado en la consola: >> b dqa0 Con esto arranca la instalaci=F3n. Di a todo que s=ED hasta que aparezc= a "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=E9on Gerencia de Servicios Sociales - Servicio de Inform=E1tica (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/20= 03 12:50 --------------------------- 07/11/2003 14:02 Phil Baldwin Destinatarios: "'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 sinc= e > 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 th= e > 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/20= 03 12:50 --------------------------- 07/11/2003 14:22 "Pat OBrien" Destinatarios: CC: Asunto: RE: Can't login as root someone has most likely removed the console from the securettys file. a= nd 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 o= n 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 t= he system? Thanks in advance ---------------------- Remitido por Antonio Ramon Gonzalez Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/20= 03 12:50 --------------------------- 07/11/2003 14:58 "Ryan Frantz" Destinatarios: 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 ro= ot, you can't edit that file to correct it. The best thing to do is to boo= t into single user mode and correct the file. Unless you're familiar wit= h the 'ed' editor, you may need to brush up; I believe that is the only edito= r available in single user mode. Ryan Frantz Senior Systems Engineer Acclamation Systems, Inc ----- Original Message ----- From: To: 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 sinc= e > 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 th= e > 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/20= 03 12:50 --------------------------- 07/11/2003 15:17 "Dr Thomas.Blinn@HP.com" Hi everyone, > > We have a system runnig Tru64 5.1B. Until now it worked fine but sinc= e > 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 th= e > 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 comment= s 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 an= d 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.co= m 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 represen= t 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/20= 03 12:50 --------------------------- 07/11/2003 15:38 Steven Mu=F1oz R. Destinatarios: "'gonzalez_ar1@tsm.es'" CC: Asunto: RE: Can't login as root Ya intentaste a=F1adir la l=EDnea ptys en el archivo /etc/securettys? Steven Mu=F1oz Rodr=EDguez 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 o= n 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 t= he system? Thanks in advance ---------------------- Remitido por Antonio Ramon Gonzalez Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/20= 03 12:50 --------------------------- 07/11/2003 15:48 "Dan Byrd" Destinatarios: CC: Asunto: Re: Can't login as root Look at the file /etc/securettys and make sure that /dev/console is sti= ll in it. If you can't login as root and you need to file a system file, h= alt the system and boot to single-user mode. >>> boot -flag s # mount -u / # mount /usr # mount /var # vi /etc/securettys=A0=A0=A0=A0 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".=A0 This has been usual when we try to log from a remot= e system, but now is different. We are not able to log as root=A0 from t= he console. If we log as any other user everythig is ok, but we cannot either do s= u-. 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/20= 03 12:50 --------------------------- 07/11/2003 17:50 Iain Barker Destinatarios: "'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 o= n 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 t= he system? Thanks in advance ---------------------- Remitido por Antonio Ramon Gonzalez Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/20= 03 12:50 --------------------------- 07/11/2003 18:11 Michael Bucholtz Destinatarios: "'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 ch= eck the /etc/securettys file. It should contain: # /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 o= n 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 t= he system? Thanks in advance ---------------------- Remitido por Antonio Ramon Gonzalez Gonzalez/UN12322/DES. MARKETING Y CANAL INTERNET/TSM con fecha 10/11/20= 03 12:50 --------------------------- 07/11/2003 22:22 "Robert M. Lang" 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 sinc= e > 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 th= e > 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/20= 03 12:50 --------------------------- 08/11/2003 00:13 "Copeland KCK, Rich" Destinatarios: 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 o= n 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/20= 03 12:50 --------------------------- 09/11/2003 03:01 Piotr Grzybowski 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 t= o 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 =