From owner-freebsd-questions Tue Oct 21 09:51:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA24236 for questions-outgoing; Tue, 21 Oct 1997 09:51:01 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA24224 for ; Tue, 21 Oct 1997 09:50:55 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (shovey@buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.7.5/8.7.3) with SMTP id MAA06062; Tue, 21 Oct 1997 12:46:18 -0400 (EDT) Date: Tue, 21 Oct 1997 12:46:17 -0400 (EDT) From: Steve Hovey To: Eswaran Srinivasan cc: freebsd-questions@FreeBSD.ORG Subject: Re: URGENT HELP NEEDED - root login denied In-Reply-To: <9710211502.AA18102@pelican.isd> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You dont want to be able to log in as root remotely - login as a user, then su root for security. 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'. > > 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. > > File /etc/login.access > ---------------------- > > I could locate the file /etc/login.access which specifies entries for > system login. > > I attempted to set > > +:root:ALL > +:root:lexus > > and stuff like that... Oops ! It didn't help me ! > > 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 | > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >