|
From: John M. <jw...@pr...> - 2002-10-01 13:12:39
|
On Tue, Oct 01, 2002 at 01:12:31PM +0200, Mattias B wrote:
% /etc/proftps.passwd contains one line:
% brazze:$1$xydLLeaa$DI/4nnXlwo04tCiKRcFUP/:1001:1001::/var/priv_ftp:/bin/false
%
% /etc/proftpd.group contains one line:
% ftpusers:x:1001:
%
% Now when I try to login as user brazze it doesn't work. The log tells me
% that:
% Oct 1 13:07:23 tjocksmock proftpd[670]:
% tjocksmock(tjocksmock[127.0.0.1]) - brazze chdir("/var/priv_ftp"):
% Permission denied
%
% I suppose that my permissions on /var/priv_ftp is wrong somehow. Am I
% correct in assuming that when brazze logs in the daemon will run as user
% nobody? I have tried setting the owner of /var/privftp to nobody but I
% got the same result.
It will run as 1001/1001, which is the UID/GID combination you specified in
your AuthUserFile. Make sure 1001/1001 can chdir to /var/priv_ftp/.
john
--
John Morrissey _o /\ ---- __o
jw...@pr... _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
|