SUMMARY: changing umask for specific user with ftp

From: Johnson, Kevin <>
Date: Thu May 19 2005 - 11:01:10 EDT
I received several replies. They all indicated that the best course of
action was to upgrade to either proftp or vsftp. 

Thanks to all that replied. 

Kevin Johnson

From: Johnson, Kevin 
Sent: Thursday, May 12, 2005 8:56 AM
To: ''
Subject: changing umask for specific user with ftp


I have a Solaris 9 system that receives files via ftp. There is one specific
user that logs in and that user is requesting that the files have a umask of
002. I looked into the ftpaccess file and the possible ways to achieve this.
I found the "defumask" directive and according to the man page (ftpaccess
(4)), I can use the following syntax:

Defumask	002	realusers

The realusers is the class that I was hoping to be able to assign this
particular user to. This seems to work because if I remove the class from
this line, the umask becomes 002 for all users. The rub is.... I can't seem
to find the syntax on assigning users to the class. Has anyone done this?

How do I assign a specific user to the realusers class?

Thanks. I will summarize.

Kevin Johnson
Sun System Support
Sr. Systems Administrator <> 
(720) 268-8260
sunmanagers mailing list
Received on Thu May 19 11:01:52 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:47 EST