Skip site navigation (1)Skip section navigation (2)
Date:        Wed, 6 Jun 2001 13:01:30 +0200 (CEST)
From:      Grzegorz Czaplinski <gregory@alpha.mini.pw.edu.pl>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   _secure_path: cannot stat /etc/login.conf
Message-ID:  <Pine.LNX.4.33.0106061243350.31803-100000@alpha.mini.pw.edu.pl>

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

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

Do you have any clue?
Plese help, any hints appreciated,
best regards,
	gregory


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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