Re: [Proftpd-user] Needs to configure Proftp in solaris 11.2

Nilesh Date <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <CY4PR1801MB1816B3778F8D01556B896B5BF0420@CY4PR1801MB1816.namprd18.prod.outlook.com>
Thanks  .
I just checked with client and as per them this server is being used as ftp server.
They want to setup proftp log file in a such a way that it track ftp users activity.

Please help me with the entries which I need to add in /etc/proftpd.conf to track ftp user activity.
I have shared current proftpd.conf file details in my earlier email.

Also I can see /var/log/xferlog is generating ftp related logs.

Regards,
Nilesh

From: Andrew Mak <[email protected]>
Sent: Tuesday, July 03, 2018 5:37 AM
To: [email protected]
Subject: Re: [Proftpd-user] Needs to configure Proftp in solaris 11.2

Nilesh,

Solaris 11.3 uses proftpd as the default ftp server. The package are service/network/ftp and network/ftp. I don’t have a Solaris 11.2 so I cannot confirm whether 11.2 is using proftpd. But if /etc/proftpd.conf is there natively, it is likely to be.

Please enable the ftp server “svcadm enable network/ftp” and check.

Regards,
Andrew Mak

From: Nilesh Date [mailto:[email protected]]
Sent: Sunday, 1 July, 2018 3:16 PM
To: [email protected]<mailto:[email protected]>
Subject: [Proftpd-user] Needs to configure Proftp in solaris 11.2

Hi Team,

We have received request from client to setup proftp in their solaris 11.2 server.
Currently I can /etc/proftp.conf file is present on the server but when I check package info , there is no such package with the name proftp.

Please assist.

root@sga0eccdb01p:~# ls -l /var/log/syslog*
-rw-r--r--   1 root     sys       259873 Jul  1 05:00 /var/log/syslog
-rw-r--r--   1 root     sys       686833 Jun 28 03:00 /var/log/syslog.0
-rw-r--r--   1 root     sys       767551 Jun 21 03:00 /var/log/syslog.1
-rw-r--r--   1 root     sys       788401 Jun 14 03:00 /var/log/syslog.2
-rw-r--r--   1 root     sys       809452 Jun  7 03:00 /var/log/syslog.3
-rw-r--r--   1 root     sys       778827 May 31 03:00 /var/log/syslog.4
-rw-r--r--   1 root     sys       837663 May 24 03:00 /var/log/syslog.5
-rw-r--r--   1 root     sys       858830 May 17 03:00 /var/log/syslog.6
-rw-r--r--   1 root     sys       722430 May 10 03:00 /var/log/syslog.7
root@sga0eccdb01p:~# cat /etc/release
                            Oracle Solaris 11.2 SPARC
  Copyright (c) 1983, 2014, Oracle and/or its affiliates.  All rights reserved.
                             Assembled 23 June 2014
root@sga0eccdb01p:~# cat /etc/proftpd.conf
ServerName                      "FTP server"
ServerIdent                     off
ServerType                      standalone
DefaultServer                   on
Port                            21

Umask 027

# 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                            ftp
Group                           ftp

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

# Bar use of SITE CHMOD by default.
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# Make PAM the final authority on what gets authenticated.
AuthOrder mod_auth_pam.c* mod_auth_unix.c

# Use system libraries for user lookups.
PersistentPasswd off

# Root login must be enabled explicitly. It is not permitted by default.
# Allow it only if you know what you are doing.
#RootLogin on

DisplayConnect          /etc/issue
DisplayConnect /etc/issue
root@sga0eccdb01p:~# svcs -a|grep -i ftp
disabled       Apr_14   svc:/network/tftp/udp6:default
online         Apr_14   svc:/network/ftp:default

Regards,
Nilesh


________________________________

This email and its attachments contain confidential, private and/or personal information and should be strictly treated as such. If you are not the intended recipient of this email, please notify us immediately on +61 3 8540 1800 and delete and permanently erase the email, its attachments and all copies thereof, including all copies stored in any backup system or other medium. All of the emailed information is intended for a specific individual purpose and may be subject to copyright and/or professional privilege. If you are not the intended recipient of this email, you and your agents must not use, disseminate, print or copy the emailed information or any part thereof, or take action based on the emailed information or any part thereof, without Mazda's express written consent. Mazda does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used by the intended recipient on the basis that the recipient assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether or not caused by the negligence of the sender.
If this is a commercial electronic message within the meaning of the Spam Act, you may indicate that you do not wish to receive any further commercial electronic messages from Mazda Australia by sending an e-mail to mailto:[email protected]

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.