Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 1997 17:38:34 -0500
From:      keyser@clio.rice.edu (Kevin Keyser)
To:        eswar@idc.tandem.com
Cc:        questions@freebsd.org
Subject:   Re: URGENT HELP NEEDED - root login denied
Message-ID:  <9710212238.AA13715@clio.rice.edu>

next in thread | raw e-mail | index | archive | help
> 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'.

This is controlled by specifying either secure (root can login
directly) or insecure (cannot) on the entry for each particular
terminal listed in /etc/ttys.  Many consider it a good idea, security
wise, not to login as root directly (ie. login as yourself and do an
"su" to get root), and might therefore set all entries to insecure.
Pseudo-terminals (network logins) like your example are left
"insecure" by the install.

> 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.

This message is caused by not having the file /etc/login.conf which
defines login classes.  I believe you can find one in /usr/src/etc.

> 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    |
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Kevin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9710212238.AA13715>