How do I alter timeout and default umask of ftpd ?

From: Lewars, Mitchell (EM, PTL) (Mitchell.Lewars@penske.com)
Date: Thu Oct 16 2003 - 10:13:03 EDT


I have a solaris 9 server.

I need to force a umask of 002 on files uploaded and I need the ftp session
timeout set to 60 seconds.

Help?

I have made the following changes:

Changed inetd.conf :

# FTPD - FTP server daemon
ftp stream tcp6 nowait root /usr/sbin/in.ftpd-wrapper
in.ftpd -a

Added /usr/sbin/in.ftpd-wrapper

#!/sbin/sh
# Umask of 002
env - umask 002
#No core dump from ftpd
ulimit -c 0
exec /usr/sbin/in.ftpd -a -t 60

Mitchell Lewars
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:18 EDT