Marcin 'Rambo' Roguski | 1 Feb 2005 09:40
Picon
Favicon

Re: [Proftpd-user] Making 'virtual' anonymous user

> > That causes the problem, virtualy any auth-requiring user with valid
> > shell will still have access to services (including SMTP AUTH).

> Is there no file like ftpusers for the mailserver?

Not to my knowledge, as far as courier goes.

> > Flat files: can you elaborate on that? LDAP and MySQL fall off.
[...]

Thanks, I found the solution, or more precise- found out where I was making 
mistake with UserAlias (I didn't specify second "argument"- real username, 
and also "AuthAliasOnly on" was missing) when setting up anonymous access.

Rambo

--

-- 
Love your neighbour, yet don't pull down your hedge.
		-- Benjamin Franklin

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

(Continue reading)

Luca Ferrari | 1 Feb 2005 09:52
Picon
Gravatar

[Proftpd-user] chroot users to their home

Hi,
I'm new to proftpd, but in the config file I read:

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

but even enabling the DefaultRoot option, the users can change to directory 
upper their home, so they are not really chrooted/jailed. Is there something 
else that must be done?

Thanks,
Luca
--

-- 
Luca Ferrari,
fluca1978 <at> infinito.it

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Martin Kruse Jensen | 1 Feb 2005 09:58
Picon

[Proftpd-user] Quota on virtual users

Hi all

I know ProFTPd supports virtual user and quota, but doesn't it support quota on
virtual users?

Best regards,
Martin Kruse Jensen

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Matus UHLAR - fantomas | 1 Feb 2005 10:29
Picon
Favicon

Re: [Proftpd-user] enforcing and alerting UFS quota for FTP guest accounts

On 31.01 15:44, Scheidel, Greg (Contractor) wrote:
> > See http://bugs.proftpd.org/show_bug.cgi?id=2560
> > 
> > However, when received the error message, the program can't tell if it was
> > soft or hard quota that was exceeded. The program can't tell that unless
> > it can access quotas on filesystem level which means additional checks.
> 
> That's ok with me.  If I get a syslog message to trigger off of, I can
> run my script that generates the appropriate e-mail message.

cron job that checks for quotas would be a good idea too... :)
--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Boost your system's speed by 500% - DEL C:\WINDOWS\*.*


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Matus UHLAR - fantomas | 1 Feb 2005 10:34
Picon
Favicon

Re: [Proftpd-user] chroot users to their home

On 01.02 09:52, Luca Ferrari wrote:
> I'm new to proftpd, but in the config file I read:
> 
> # To cause every FTP user to be "jailed" (chrooted) into their home
> # directory, uncomment this line.
> DefaultRoot ~
> 
> but even enabling the DefaultRoot option, the users can change to directory 
> upper their home, so they are not really chrooted/jailed. Is there something 
> else that must be done?

do you use mod_vroot?
do you run proftpd from root account?
do you use virtual hosts?
where is the defaultroot option defined?

--

-- 
Matus UHLAR - fantomas, uhlar <at> fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
REALITY.SYS corrupted. Press any key to reboot Universe.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
(Continue reading)

Luca Ferrari | 1 Feb 2005 11:25
Picon
Gravatar

Re: [Proftpd-user] chroot users to their home

On Tuesday 1 February 2005 10:34 Matus UHLAR - fantomas's cat walking on the 
keyboard  wrote:

> On 01.02 09:52, Luca Ferrari wrote:
> > I'm new to proftpd, but in the config file I read:
> >
> > # To cause every FTP user to be "jailed" (chrooted) into their home
> > # directory, uncomment this line.
> > DefaultRoot ~
> >
> > but even enabling the DefaultRoot option, the users can change to
> > directory upper their home, so they are not really chrooted/jailed. Is
> > there something else that must be done?
>
> do you use mod_vroot?

I don't know, how to check this?

> do you run proftpd from root account?

Yes.

> do you use virtual hosts?

No.

> where is the defaultroot option defined?

in the protftpd.conf file I'm using.

(Continue reading)

Scheidel, Greg (Contractor | 1 Feb 2005 12:30
Picon

RE: [Proftpd-user] enforcing and alerting UFS quota for FTP guest accounts

> cron job that checks for quotas would be a good idea too... :)

Got that. :)  Weekly check for hitting the hard quota, monthy check for hitting the soft quota and a friendly
reminder that the account has quotas enabled.

All I'm missing is the immediate notification to the user and sysadmins at the moment the user exceeds their
quota via FTP.

Greg S.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Ed Wilts | 1 Feb 2005 13:38

Re: [Proftpd-user] chroot users to their home

On Tue, Feb 01, 2005 at 09:52:14AM +0100, Luca Ferrari wrote:
> I'm new to proftpd, but in the config file I read:
> 
> # To cause every FTP user to be "jailed" (chrooted) into their home
> # directory, uncomment this line.
> DefaultRoot ~
> 
> but even enabling the DefaultRoot option, the users can change to directory 
> upper their home, so they are not really chrooted/jailed. Is there something 
> else that must be done?

After you added the option, did you reload the config or restart
ProFTPd?  The DefaultRoot option works fine for me.

--

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts <at> ewilts.org
Member #1, Red Hat Community Ambassador Program

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

(Continue reading)

Luca Ferrari | 1 Feb 2005 13:45
Picon
Gravatar

Re: [Proftpd-user] chroot users to their home

On Tuesday 1 February 2005 13:38 Ed Wilts's cat walking on the keyboard  
wrote:

> On Tue, Feb 01, 2005 at 09:52:14AM +0100, Luca Ferrari wrote:
> > I'm new to proftpd, but in the config file I read:
> >
> > # To cause every FTP user to be "jailed" (chrooted) into their home
> > # directory, uncomment this line.
> > DefaultRoot ~
> >
> > but even enabling the DefaultRoot option, the users can change to
> > directory upper their home, so they are not really chrooted/jailed. Is
> > there something else that must be done?
>
> After you added the option, did you reload the config or restart
> ProFTPd?  The DefaultRoot option works fine for me.

Yes, I restarted the daemon after having it shutted down with ftpshut.

Luca

--

-- 
Luca Ferrari,
fluca1978 <at> infinito.it

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
(Continue reading)

TJ Saunders | 1 Feb 2005 04:47

Re: [Proftpd-user] chroot users to their home


> Yes, I restarted the daemon after having it shutted down with ftpshut.

ftpshut _does not_ shut the daemon down:

  http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-Stopping.html#ftpshut

TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   There is no danger to a man, that knows
   What life and death is; there's not any law
   Exceeds his knowledge, neither is it lawful
   That he should stoop to any other law.
   He goes before them, and commands them all,
   That to himself is a law rational.

   	-George Chapman

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
(Continue reading)


Gmane