Ralf Roggensack | 1 Dec 18:51 2008
Picon

[Proftpd-user] Mount from folder

Hello,

frist I want to say sorry for my bad english.

I use proftp. In my system i have two folder. folder one is roggi01 and
folder two is roggi02. How can I do, that the folder home/user1
contains  the same files  as in roggi 01 AND roggi02.

BigThx

gz
Roggi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Jorge Bastos | 2 Dec 22:25 2008
Picon

Re: [Proftpd-user] Mount from folder

Do a symlink

> -----Original Message-----
> From: Ralf Roggensack [mailto:Ralf.Roggensack <at> t-online.de]
> Sent: segunda-feira, 1 de Dezembro de 2008 17:52
> To: proftp-user <at> lists.sourceforge.net
> Subject: [Proftpd-user] Mount from folder
> 
> Hello,
> 
> frist I want to say sorry for my bad english.
> 
> I use proftp. In my system i have two folder. folder one is roggi01 and
> folder two is roggi02. How can I do, that the folder home/user1
> contains  the same files  as in roggi 01 AND roggi02.
> 
> BigThx
> 
> gz
> Roggi
> 
> -----------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)

BANCEL Guillaume | 2 Dec 22:21 2008

Re: [Proftpd-user] Mount from folder

Hi Roggi,

You can try using symbolic links:

/home# ls -l
drwxrwxr-x   3 roggi01   group     512 Dec  2 22:15 roggi01
drwxrwxr-x   3 roggi02   group      31 Dec  2 20:29 roggi02 -> roggi01

I think you also need to set the proftpd variable "AllowLogSymlinks" to "on" in order to allow FTP
connections on roggi02.

Regards,
Guillaume

-----Message d'origine-----
De : Ralf Roggensack [mailto:Ralf.Roggensack <at> t-online.de] 
Envoyé : lundi 1 décembre 2008 18:52
À : proftp-user <at> lists.sourceforge.net
Objet : [Proftpd-user] Mount from folder

Hello,

frist I want to say sorry for my bad english.

I use proftp. In my system i have two folder. folder one is roggi01 and
folder two is roggi02. How can I do, that the folder home/user1
contains  the same files  as in roggi 01 AND roggi02.

BigThx

(Continue reading)

Marcel Grandemange | 4 Dec 09:55 2008
Picon

[Proftpd-user] unregister


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

TJ Saunders | 4 Dec 18:35 2008

Re: [Proftpd-user] unregister


The bottom of every proftpd user mailing list email contains the following 
information:

> ProFTPD Users List   <proftpd-users <at> proftpd.org>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html

To unsubscribe, go to the mentioned URL.

TJ

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

   The worst solitude is to be destitute of sincere friendship.

   	-Francis Bacon

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

(Continue reading)

M G | 4 Dec 22:11 2008
Picon

[Proftpd-user] Issues configuring logging

This may be common knowledge on this list, but I had to learn through trial and error, so I figured I'd share.
 
I was trying to configure logging as follows to no avail:
DebugLevel 9
SystemLog /var/log/proftpd/proftpd.log NONE
LogFormat cmd "%t %h (%a), %u, \"%r\" %s %b bytes"
TransferLog /var/log/proftpd/xfer.log
ExtendedLog /var/log/proftpd/command.log all cmd
 
I had placed these lines in the "system config" context and would see log entries in the SystemLog, but the TransferLog and ExtendedLog were not being created.
 
I had to move the TransferLog and ExtendedLog statements within the <Global> tags (NOTE: SystemLog and LogFormat need to stay in the "server config" context as stated in their respective directive doc pages).
 
Would someone be willing to spell this out on the how-to?:
 
TIA,
 
Marcus
 

 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
RmXsMaNiA | 5 Dec 11:03 2008

[Proftpd-user] Proftpd restriction group

Hello,
I have a dedicate server one of our domains called ex. DOMAIN1.TLD
We wont to this domain users can have access to ftp.
Admin create account for ftp access to folder /public_html/files.......
Users can login via ftp sofware byt we wont to restrict the actions of this account to only DOWNLOAD files.

Something like this..

<Directory /path/to/downloads>
<Limit ALL>
DenyAll
</Limit>

<Limit DOWNLOAD>
AllowAll
</Limit>
</Directory>

 
Also please inform as what files we must edit to do this and if its possible admin have full access.
Thanks
 
 
RmXsMaNiA Technical Support
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Tim Gustafson | 9 Dec 23:57 2008

[Proftpd-user] seteuid / setegid on mySQL Authentication

I'm using ProFTPd 1.3.1 on a CentOS 5.2 box with the mod_sql_mysql module installed.

Is it possible to configure ProFTPd to call seteuid and setegid to the values specified in the users table
after a person is authenticated using mod_sql_mysql?  It seems right now that ProFTPd retains the uid/gid
settings from /etc/proftpd.conf right now.

Thanks!

Tim Gustafson
SOE Webmaster
UC Santa Cruz
tjg <at> soe.ucsc.edu
831-459-5354

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

TJ Saunders | 10 Dec 02:10 2008

Re: [Proftpd-user] seteuid / setegid on mySQL Authentication


> Is it possible to configure ProFTPd to call seteuid and setegid to the
> values specified in the users table after a person is authenticated
> using mod_sql_mysql?

ProFTPD actually does this.

> It seems right now that ProFTPd retains the uid/gid settings from
> /etc/proftpd.conf right now.

What are you using to determine this?  Some tools, e.g. ps, may actually 
be showing the real UID/GID, instead of (or in addition to) the effective 
UID/GID.

Cheers,
TJ

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

   Only those who will risk going too far can possibly find out how
   far one can go.

   	-T.S. Eliot

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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Tim Gustafson | 10 Dec 17:45 2008

Re: [Proftpd-user] seteuid / setegid on mySQL Authentication

> What are you using to determine this?  Some tools, e.g.
> ps, may actually be showing the real UID/GID, instead
> of (or in addition to) the effective UID/GID.

The way I'm determining this behavior is that I have ProFTPd set to chroot to a folder that is chmod 700 and
owned by the user specified in the mySQL authentication table, but when the user tries to log in, I get these
error messages in my syslog:

FTP session opened. 
USER Dropbox: Login successful. 
Preparing to chroot to directory '/home/foo/upload' 
Dropbox chroot("/home/foo/upload"): Permission denied 
error: unable to set default root directory 
FTP session closed. 

Here is the permission for the folder in question:

drwx------ 2 foo users 512 Dec  9 02:07 /home/foo/upload

And here is the entry in the mySQL authentication table:

     UserName: Dropbox
     Password: *0B3D2B373D9CEBB443E2A5D954C23A954EBB8D7E
          UID: 3554
          GID: 100
HomeDirectory: /home/
        Shell: /bin/sh

The "foo" user's ID looks like this:

uid=3554(foo) gid=100(users)

So, maybe ProFTPd needs to seteuid/setegid before it tries to do a chroot, or is that not possible?  The
folder is NFS-mounted, and root does not have root privileges on the mount.  Could that be the problem?  Do I
need to have my file server export that mount with root permissions for this to work?

Tim Gustafson
SOE Webmaster
UC Santa Cruz
tjg <at> soe.ucsc.edu
831-459-5354

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
ProFTPD Users List   <proftpd-users <at> proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html


Gmane