Submitted by jongag1 on Thu, 04/20/2017 - 06:55 Pro Licensee
Hi,
This morning there was an update available for proftpd. Old version was 1.33 new version installed via yum is 1.35. Running CentOS 6.9
ProFTPd package version:
rpm -qa | grep proftp
proftpd-1.3.5d-2.el6.x86_64
Messages when starting:
# /usr/sbin/proftpd
proftpd[28023]: fatal: unknown configuration directive 'VRootEngine' on line 16 of '/etc/proftpd.conf'
After commenting out that line:
# /usr/sbin/proftpd
fatal: unknown configuration directive 'VRootAlias' on line 18 of '/etc/proftpd.conf'
after commenting out that line it works, but not safe to do so I guess...
Please advise.
With kind regards, Age
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 04/20/2017 - 08:36 Comment #1
I had looked into that a bit after someone else ran into that a few weeks ago. It doesn't appear that VRootAlias is used by Virtualmin, and it should be safe to comment that out.
I think your solution above is perfect, but let us know if you run into any problems with that!
Submitted by adlsrl on Fri, 04/21/2017 - 03:47 Comment #2
Hi !
Just to notify that I have the same problem here and comment these lines resolve the issue.
Submitted by Opposite on Fri, 04/21/2017 - 09:38 Comment #3
Hi guys!
Remove ;
VRootEngine on
DefaultRoot ~
VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
this lines on etc/proftpd.conf
and restart
Thats all!
Submitted by nh905 on Sat, 05/27/2017 - 10:53 Comment #4
According to https://www.virtualmin.com/comment/776179#comment-776179, the "DefaultRoot ~" directive should NOT be commented out. Testing with and without the "DefaultRoot" directive did not seem to make a different for me, but I only support SFTP which may have its own method of enforcing permissions.
Submitted by jongag1 on Fri, 08/04/2017 - 07:54 Pro Licensee Comment #5
Submitted by jongag1 on Fri, 08/04/2017 - 07:56 Pro Licensee Comment #6