Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 1997 18:41:21 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Eswaran Srinivasan <eswar@idc.tandem.com>
Cc:        freebsd-questions@FreeBSD.ORG, Eswaran Srinivasan <eswar@idc.tandem.com>
Subject:   Re: URGENT HELP NEEDED - root login denied
Message-ID:  <Pine.BSF.3.91.971021183705.818A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <9710211502.AA18102@pelican.isd>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 21 Oct 1997, Eswaran Srinivasan wrote:

> Hi,
> 
> I have installed Free BSD Release 2.2.2 on a system called "olympus". 
> It is working fine and I am able to login as "root" from the console 
> and do the stuff.
> 
> PS: I am new to Free BSD and am really sorry if this is a very silly
> 	question ;-( But, I need to know this quickly to proceed with my
>     work. Any help would be appreciated.
> 
> FROM REMOTE SYSTEM
> ------------------
> 
> When I am attempting to login as "root" from some other system (lexus), it
> gives the following error on the console:
> 
> Oct 21 20:39:50 olympus inetd[389]: login_getclass: unknown class 'root'
> Oct 21 20:39:55 olympus login: login_getclass: unknown class 'root'
> Oct 21 20:39:58 olympus login: LOGIN root REFUSED (NOROOT) FROM lexus ON
> TTY ttyp1
> 
> So, I am NOT able to login as 'root' from any other system onto 'olympus'.

By default, ptys (i.e. pseudo terminals) are insecure, meaning root cannot 
login on them, and for a good reason. It is better to *never* login as 
root. Instead make sure your own user is a member of the wheel group (if 
not, add it, to the appropriate line in /etc/group so it reads:
wheel:*:0:root,eswar
) and use su to get root privileges.


> 
> FROM LOCAL CONSOLE
> ------------------
> 
> Please note that, when I am trying to login as "root" from the local
> console, I am getting the following message:
> 
> Oct 21 20:39:55 olympus login: login_getclass: unknown class 'root'
> 
> But, I AM ABLE to login to the system as "root" from the local console
> of the system "olympus". Only 'root' login from a remote system to
> 'olympus' fails.

For this, see the errata file:
http://www.freebsd.org/releases/2.2.2R/errata.html

 [snip]

> 
> Any help would highly be appreciated...
> 
> Regards
> - Eswaran Srinivasan
> 
>            \\|//
>            (o ~)
> -------oOO--(_)--OOo-----------------------------------------------------------
> Eswaran Srinivasan                   |  Contact : 
> Wipro Infotech Group - Global R&D    |  Phone   : 91-80-5522296, Ext: 3076
> 26, Chamundi Complex,                |  E-Mail  : eswar@wipinfo.soft.net
> Begur-Hongasandra Village            |            eswar@idc.tandem.com
> Bommanahalli, Bangalore - 560 068    |
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971021183705.818A-100000>