I have tried this with default solaris 11 install, but it doesn't work.
Seems like the default service proftpd with it's configuration file /etc/proftpd.conf
So you will need to modify that configuration file and add this or similar directive :
Now if user writes to /export/home/test it will create rw-rw---- (664).
Per user configuration is done with IFuser directive, but that requires mod_ifsession.c module loaded.
I'm still trying to figure out which ftp server solution actually uses /etc/ftpd/ftpaccess, will get back to you.
Update : Seems like in older versions of Solaris (before 11), ftpd is based on wu-ftpd which uses ftpaccess ftpusers files for configuration.
We have an application running on Win2K and this application ftp files to HP-UX using ftpdc as user id. The files are created in HP-UX with following permissions:
-rw-r----- 1 ftpdc users 968321 Apr 12 22:57 aaaa.txt
There is a job that runs on HP-UX trying to modify this file using the... (7 Replies)
Hi,
I have a problem with my ftp accounts whereby if any external ftp party connects to our server and puts any file in a directory on our server. The file permissons are always -rw-r----- and no read for others.
I have adjusted the ftp user .profile to include 'umask 022' but this only works... (3 Replies)
Hi,
I am transferring files from our local server to remote server using FTP command in a shell script.
I am using a the following code,
FTPFILE="ercchk*.txt"
mput $FTPFILE
can any one help me out in calucalating the number of files transfered.
help in this regard is highly... (9 Replies)
Validating the size of file transferred from ftp server to the local system.
File type: Text file/Flat file
Source System: Windows / Unix Systems
Target System is always: Unix
Mode of Transfer : ASCII
We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Hi,
I have a process which FTP's the files from one server to another server.
Sometimes only half or a part of the file is delivered to remote location, but on the end log says FTP is successful. But ideally file in full is not delivered to remote location.
How can i catch these kind of errors... (2 Replies)
Hi,
i want to execute a shell script which transfers files from one server to another using ftp in unix. How can i check whether the ftp is successful or not.(i.e files are transferred to destination server). because if i am checking the return code of ftp, it always shows 0 (denoting ftp is... (5 Replies)
We are transferring xml files to remote machine through cronjob @every 5 mins and then will move the files to the backup folder is source server.
Sometimes the file is transferred as 0kb to destination server, whereas the file in the source backup folder is completely written.
There is no error... (6 Replies)
I've a folder in remote server and it has 50 files. I like to transfer these files by first 10 and next 10 files.
I'm using mget command to transfer the files. How to limit the file transfer limit to 10. instead of copying 50 files at a time.
Thanks
Janarthan (5 Replies)
I'm using sftp to connect from a Windows server (User ID is ssh1) to AIX server (User ID ftpeapsg) to access /sftp/ftphrssg/HRSSG/EAPSG in AIX server. User ftpeapsg is created on AIX server.
Able to connect to AIX server fine without the need for password however not able to see the folder... (4 Replies)
Discussion started by: userguy
4 Replies
LEARN ABOUT LINUX
proftpd
proftpd(8) System Manager's Manual proftpd(8)NAME
proftpd - Professional configurable, secure file transfer protocol server
SYNOPSIS
proftpd [ -hlntv ] [ -c config-file ] [ -d debuglevel ] [ -p 0|1 ]
DESCRIPTION
proftpd is the Professional File Transfer Protocol (FTP) server daemon. The server may be invoked by the Internet "super-server" inetd(8)
each time a connection to the FTP service is made, or alternatively it can be run as a standalone daemon.
When proftpd is run in standalone mode and it receives a SIGHUP then it will reread its configuration file. When run in standalone mode
without the -n option, the main proftpd daemon writes its process ID to /var/run/proftpd.pid to make it easy to know which process to
SIGHUP.
OPTIONS -h,--help Display a short usage description, including all available options.
-n,--nodaemon
Runs the proftpd process in standalone mode (must be configured as such in the configuration file), but does not background the
process or disassociate it from the controlling tty. Additionally, all output (log or debug messages) are sent to stderr,
rather than the syslog mechanism. Most often used with the -d option for debugging.
-q,--quiet Quiet mode; don't send logging information to standard error when running with the -n option.
-v,--version
Displays the version number of ProFTPD to stdout.
-D,--define parameter
Sets a configuration parameter which can be used <IfDefine>...</IfDefine> sections in the configuration files to conditionally
skip or process commands.
-d,--debug debuglevel
Sets proftpd's internal debug level (normally 0). The debuglevel should be an integer value from 0 to 10, with higher numbers
producing more debug output. Normally, debug messages are sent to syslog using the DEBUG facility, however if the -n option is
used, all such output is sent to stderr.
-c,--config config-file
Specifies an alternate config-file to be parsed at startup, rather than the default configuration file. The default configura-
tion file is /etc/proftpd/proftpd.conf
-N,--nocollision
Disables address/port collision checking.
-V,--settings
Displays various compile-time settings and exits.
-S,--serveraddr
Specifies an IP address for the host machine, avoiding an DNS lookup of the hostname
-t,--configtest
Read the configuration file, report any syntax errors, and exit.
-p,--persistent 0|1
Disables (0) or enables (1) the default persistent password support, which is determined at configure time for each platform.
This option only affects the default support, it can still be overridden at run-time with the PersistentPasswd directive.
-l,--list Lists all modules compiled into proftpd.
-4,--ipv4 Support IPv4 functionality only, regardless of whether the --enable-ipv6 configure option was used.
-6,--ipv6 Support IPv6 connections and lookup of IPv6 addresses for server DNS names. This is enabled by default, if the --enable-ipv6
configure option is used.
FILES
/usr/sbin/proftpd
/etc/proftpd/proftpd.conf
/usr/bin/ftpwho
/usr/bin/ftpcount
/usr/bin/ftptop
/usr/sbin/ftpshut
/var/log/xferlog
/var/run/proftpd.pid
/var/run/proftpd.scoreboard
AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
SEE ALSO inetd(8),ftp(1),ftpwho(1),ftpcount(1),ftpshut(8)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/
July 2000 proftpd(8)