_secure_path: cannot stat /dev/null/.login_conf: Not adirectory, Any help?

Barry Byrne barry.byrne at wbtsystems.com
Tue Sep 2 15:11:53 UTC 2008

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of VeeJay
> Sent: 02 September 2008 15:54
> To: FreeBSD-Questions; VeeJay
> Subject: su: _secure_path: cannot stat /dev/null/.login_conf: 
> Not adirectory, Any help?
> Hi
> On the screen it says....
>  su: _secure_path: cannot stat /dev/null/.login_conf: Not a directory
> Any help to correct this problem?
> -- 
> Thanks!

You haven't said what you did, but it would look to me like you set the home
directory of a user to /dev/null and are now trying to su to that user. If
this is the case, fix the home directory to the correct path.

 - Barry

More information about the freebsd-questions mailing list