SUMMARY: changing umask for specific user with ftp

2007-12-25 4:56:00

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: 'codeprof at codeprof.com'
Subject: changing umask for specific user with ftp

Managers,

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
kevin_johnson2 at cable.comcast.com <mailto:kevin_johnson2 at cable.comcast.com>
(720) 268-8260

Comments

Got something to say?

You must be logged in to post a comment.