Bug 21384 - Unable to declare virtual users in Proftpd
Summary: Unable to declare virtual users in Proftpd
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2017-07-28 16:03 CEST by PETIT Henri
Modified: 2017-08-08 22:46 CEST (History)
2 users (show)

See Also:
Source RPM: proftpd
CVE:
Status comment:


Attachments
log.txt (205.10 KB, application/octet-stream)
2017-07-29 09:18 CEST, PETIT Henri
Details

Description PETIT Henri 2017-07-28 16:03:35 CEST
Description of problem:


Version-Release (MAGEIA 6) Proftpd vers : 
Name        : proftpd
Version     : 1.3.5e
Release     : 1.mga6
Group       : System/Servers
Size        : 6060719                      Architecture: x86_64
Source RPM  : proftpd-1.3.5e-1.mga6.src.rpm
URL         : http://proftpd.org/
Summary     : Professional FTP Server


How reproducible:


Hello
No problem installing proftpd, nor to declare system users, but on the other hand not able to declare in the configuration file:
AuthUserFile /etc/proftpd.passwd
AuthGroupFile /etc/proftpd.group

Error message when rebooting proftpd:

[Root @ localhost /] # /etc/init.d/proftpd restart
Restarting proftpd (via systemctl): Completed
[Root @ localhost /] # Job for proftpd.service failed because the control process exited with error code.
See "systemctl status proftpd.service" and "journalctl -x" for details.

So you can not declare virtual users.

Do you have an explanation ?

cordially


My file parameter:
==================

#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
# 

# Includes DSO modules
Include /etc/proftpd.d/*.conf

# This is the directory where DSO modules resides

ModulePath /usr/lib64/proftpd

# Allow only user root to load and unload modules, but allow everyone
# to see which modules have been loaded

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

ServerName			"ProFTPD BIO INFO SYS"
ServerType			standalone
DeferWelcome			off

MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			on

TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			1200

DisplayLogin                    welcome.msg
DisplayChdir                    .message
ListOptions                	"-l"
DenyFilter			\*.*/
UseIPv6                         Off

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart		on

# Port 21 is the standard FTP port.
Port				21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
#PassivePorts                    50000 50010

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			30

# Set the user and group under which the server will run.
User				nobody
Group				nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask				022  022

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwrite			on

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
PersistentPasswd		off

# Be warned: use of this directive impacts CPU average load!
#
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#UseSendFile			off

TransferLog /var/log/proftpd/proftpd.log
SystemLog   /var/log/proftpd/proftpd.log

AuthOrder       mod_auth_file.c
#AuthUserFile /etc/proftpd.passwd
#AuthGroupFile /etc/proftpd.group

<IfModule mod_tls.c>
    TLSEngine off
</IfModule>

<IfModule mod_quota.c>
    QuotaEngine on
</IfModule>

<IfModule mod_ratio.c>
    Ratios on
</IfModule>

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default. 
<IfModule mod_delay.c>
    DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
    ControlsEngine        on
    ControlsMaxClients    2
    ControlsLog           /var/log/proftpd/controls.log
    ControlsInterval      5
    ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
    AdminControlsEngine on
</IfModule>

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
    DenyAll
</Limit>
Comment 1 Marja Van Waes 2017-07-28 22:45:56 CEST
Hi Henri,

Thanks for your report.

PLease attach log.txt that is the result of running, as root

   journalctl -ab > log.txt

(compress with xz if log.txt is very large)

and give the output of

  systemctl status proftpd.service


Assigning this bug report to the proftpd maintainer.

Keywords: (none) => NEEDINFO
Component: New RPM package request => RPM Packages
CC: (none) => marja11
Source RPM: urpmi proftpd => proftpd

Comment 2 Marja Van Waes 2017-07-28 22:53:51 CEST
(In reply to Marja van Waes from comment #1)

> 
> 
> Assigning this bug report to the proftpd maintainer.

Really assigning, now :-/

Assignee: bugsquad => lists.jjorge

Comment 3 PETIT Henri 2017-07-29 09:13:48 CEST
[root@localhost ~]# systemctl status proftpd.service
● proftpd.service - LSB: ProFTPD FTP server
   Loaded: loaded (/etc/rc.d/init.d/proftpd; generated; vendor preset: enabled)
   Active: active (running) since ven. 2017-07-28 16:13:57 CEST; 16h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 20194 ExecStop=/etc/rc.d/init.d/proftpd stop (code=exited, status=0/S
  Process: 21436 ExecStart=/etc/rc.d/init.d/proftpd start (code=exited, status=0
   CGroup: /system.slice/proftpd.service
           └─21445 proftpd: (accepting connections

juil. 28 16:13:57 localhost systemd[1]: Starting LSB: ProFTPD FTP server...
juil. 28 16:13:57 localhost proftpd[21436]: Lancement de proftpd[  OK  ]
juil. 28 16:13:57 localhost systemd[1]: Started LSB: ProFTPD FTP server.
lines 1-12/12 (END)
Comment 4 PETIT Henri 2017-07-29 09:18:42 CEST
Created attachment 9531 [details]
log.txt

 journalctl -ab > log.txt

(compress with xz if log.txt is very large)

CC: (none) => hfp

Comment 5 José Jorge 2017-08-08 22:46:52 CEST
I am sorry but a bug report cannot be a support ask. You join a log that provides way too much information, while I see in it proftpd starts ok.

Please reopen the bug if you find a packaging problem.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.