[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Overcoming the /~username problem
- Subject: Re: [cobalt-users] Overcoming the /~username problem
- From: Jeremy Wadsack <jwadsack@xxxxxxxxxxxxxxxxx>
- Date: Fri Mar 28 09:31:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Ian (ian@xxxxxxxxxxxxxxxxxxxx; Friday, March 28, 2003 10:14 AM):
> Hi Jeremy,
>> I'm not sure I follow the problem here, so to clarify: Site admins are
>> logging in with FTP and uploading web content to their HOME directory
>> rather than the website directory?
>>
>> We worked around this by changing the DefaultChdir settings in
>> /etc/proftpd.conf to start them in the web directory instead.
> That sounds like just the ticket apart from one thing, it would affect every
> single user on a server right?
> What if a vsite user does not have siteadmin rights, i.e. they can
> only work within their own web user space, which is what we provide
> within one vsite in particular, would this not muck that up, or is
> there something you do within the proftpd.conf that takes this into
> account and only puts the siteadmins straight into the vsites web
> folder...
You can use a group-expression to limit who is affected by it. e.g.
DefaultChdir ../../web/ site-adm
If you want a different setting for everyone else use '!site-adm' as
the group-expression.
See http://proftpd.org/docs/directives/linked/config_ref_DefaultChdir.html
--
Jeremy Wadsack
Wadsack-Allen Digital Group