Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 18:13:45 +0200
From:      "Wolfram Kraushaar" <wk@xtweb.de>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Guest FTP Accounts
Message-ID:  <LNBBJNIAAJDGIECKKHHEMENOCKAA.wk@xtweb.de>

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

I want to setup Guest FTP-Accounts on my 4.2 Stable Server
so i created new users with home-dir /nonexistent and shell
/sbin/nologin, because  I don't want them to be able to login
via ssh for security reasons.

Then I set up proftpd for these users, chrooting them to the
directory they should have access to...

I modified /etc/pam.conf in the way the proftpd "make install"
suggested:

ftp 	auth    required    	pam_unix.so			try_first_pass
ftp 	account required    	pam_unix.so			try_first_pass
ftp 	session required    	pam_permit.so

so far, everything works fine and they can login via ftp, get chrooted
and can up- and download files.

The only thing that bothers me, are the following messages (on the console
and in the system log):

Mar 31 02:02:39 servername proftpd[29077]: _secure_path: cannot stat
/nonexistent/.login_conf: Operation not supported

I understand that a non-existant file cannot be stated, but how can I
disable these messages?
I don't know if these messages come from my pam-settings or from proftpd
itself.

Any advice?

thx,

Wolfram Kraushaar






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?LNBBJNIAAJDGIECKKHHEMENOCKAA.wk>