Re: Chrooted ftpd users can't access system time.

2006-06-29 Thread nocturnal

Hi

I use /etc/ftpchroot to chroot the users but i don't think i should be 
forced to link a file into each users home directory. That's not only a 
lot of users but there will also be questions from users about what kind 
of file it is and what it's doing there. I would appreciate any other 
solutions, if they exist.




Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


Greg Barniskis wrote:

nocturnal wrote:

Hi

I'm using the ftpd server that ships with FreeBSD and when i chroot a 
user i notice that all created directories and files have GMT time on 
them as if the process can't access the system time because it's 
chrooted. That's only my theory. I would love a way to solve this, i 
just can't imagine that people have had this problem for so long 
without solving it.


I believe you merely need to copy or link the system's /etc/localtime to 
the effective /etc of the chroot tree.


But that's from memory, could only be theory too.





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Chrooted ftpd users can't access system time.

2006-06-28 Thread nocturnal

Hi

I'm using the ftpd server that ships with FreeBSD and when i chroot a 
user i notice that all created directories and files have GMT time on 
them as if the process can't access the system time because it's 
chrooted. That's only my theory. I would love a way to solve this, i 
just can't imagine that people have had this problem for so long without 
solving it.

--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Chrooted ftpd users can't access system time.

2006-06-28 Thread Greg Barniskis

nocturnal wrote:

Hi

I'm using the ftpd server that ships with FreeBSD and when i chroot a 
user i notice that all created directories and files have GMT time on 
them as if the process can't access the system time because it's 
chrooted. That's only my theory. I would love a way to solve this, i 
just can't imagine that people have had this problem for so long without 
solving it.


I believe you merely need to copy or link the system's 
/etc/localtime to the effective /etc of the chroot tree.


But that's from memory, could only be theory too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Chrooted ftpd users can't access system time.

2006-06-28 Thread fbsd
I have same setup and use /etc/ftpchroot

See man ftpchroot  for details.


How did you chroot your ftp users?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of nocturnal
Sent: Wednesday, June 28, 2006 9:58 AM
To: freebsd-questions@freebsd.org
Subject: Chrooted ftpd users can't access system time.


Hi

I'm using the ftpd server that ships with FreeBSD and when i chroot
a
user i notice that all created directories and files have GMT time
on
them as if the process can't access the system time because it's
chrooted. That's only my theory. I would love a way to solve this, i
just can't imagine that people have had this problem for so long
without
solving it.
--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]