From owner-freebsd-questions Wed Jun 6 4: 4:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from evilfry.dyndns.org (dyn15ppp136.qala.com.sg [210.193.15.136]) by hub.freebsd.org (Postfix) with ESMTP id D328937B406 for ; Wed, 6 Jun 2001 04:04:38 -0700 (PDT) (envelope-from root@evilfry.dyndns.org) Received: by evilfry.dyndns.org (Postfix, from userid 0) id 4C148183BDA; Wed, 6 Jun 2001 19:07:41 +0800 (SGT) Content-Type: text/plain; charset="iso-8859-1" From: James Lim Reply-To: evilfry@sg.freebsd.org To: Grzegorz Czaplinski , Subject: Re: _secure_path: cannot stat /etc/login.conf Date: Wed, 6 Jun 2001 19:07:39 +0800 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01060619073901.40498@evilfry.dyndns.org> Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, =09Have you tried dropping into single user mode and doing a fsck on ur=20 root device? On the last episode Wednesday 06 June 2001 19:01, Grzegorz Czaplinski=20 wrote: > Hello! > I have run into a very strange problem. Yesterday at about 10:15am > something broke and no one can log into the system but root. > The most common messages are: > Jun 6 12:29:03 prioris /kernel: Jun 6 12:29:03 prioris > inetd[63616]:_secure_path cannot stat /nonexistent/.login_conf: > Permission denied > inetd[ ]: cannot execute /usr/libexec/fingerd: Permission denied > prioris login: _secure_path: cannot stat /etc/login.conf: > Permission denied > prioris login: _secure_path: cannot stat > /path/to/homedir/.login_conf: Permission denied. > > I cvsuped sources, recompiled the kernel and the problem persists. > I checked all of the file permissions, everything seems to be OK. > I run cap_mkdb. > > When I try to log as a normal user I receive the message: > alpha% ssh prioris -l gregory -v > [skipped] > gregory@prioris's password: > debug1: ssh-userauth2 successful: method password > debug1: channel 0: new [client-session] > debug1: send channel open 0 > debug1: Entering interactive session. > debug1: client_init id 0 arg 0 > debug1: channel request 0: shell > debug1: channel 0: open confirm rwindow 0 rmax 16384 > debug1: client_input_channel_req: channel 0 rtype exit-status reply > 0 debug1: channel 0: rcvd eof > debug1: channel 0: output open -> drain > debug1: channel 0: rcvd close > debug1: channel 0: input open -> closed > debug1: channel 0: close_read > > Cannot find root directory =20 > <---------------here!!!!!!!!! > > debug1: channel 0: obuf empty > debug1: channel 0: output drain -> closed > debug1: channel 0: close_write > debug1: channel 0: send close > debug1: channel 0: is dead > debug1: channel_free: channel 0: status: The following connections > are open: > #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1) > > Connection to prioris closed. > debug1: Transferred: stdin 0, stdout 0, stderr 31 bytes in 0.1 > seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr > 553.2 debug1: Exit status 254 > > Login from the console: > "Cannot find root directory". > > # uname -a > FreeBSD prioris.mini.pw.edu.pl 4.3-STABLE FreeBSD 4.3-STABLE #2: > Tue Jun 5 20:03:17 CEST 2001 > rgregory@prioris.mini.pw.edu.pl:/usr/obj/usr/src/sys/PRIORIS-4=20 > i386 > > Do you have any clue? > Plese help, any hints appreciated, > best regards, > =09gregory > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Regards, James Lim http://sg.freebsd.org | http://www.bsd-geeks.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message