[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RAQ3: Disable FTP access for "regular users" but still allow for site-admins & admin



G'day,

I am trying to figure out how to disable FTP access for "regular" users, while
still enabling it for site-admins and admin.  I've searched the archives and
knowledgebase, but haven't found it spelled out for me yet.  Does anyone know
how to easily accomplish this?

I looked at /etc/proftpd.conf which defines the default ftp directories for
the different classes of users for each vhost, and browsed the proftpd docs
online.  Can I do something like this to accomplish what I want:

<Limit LOGIN>
  AllowGroup    admin
  AllowGroup    site-adm
  DenyGroup     !site-adm
</Limit>

If I place this is the server-config block at the top of proftpd.conf, it
should work for all virtual hosts, right?

Has anyone tried this before I give it a crack?

Thanks,

dAvid tHacker                                  Email: David@xxxxxxxxxxxxxx
Thacker Network Technologies Inc.                Http://www.ThackerNet.com