get php uptime function out of apache chroot jail?

2009-02-24 Thread Jerome Santos
hello, I want to put a php script in a site on an openbsd 4.2 webserver. >From what I understand because apache is chrooted, a function that uses an exec to a system call cannot work. ie. only echoes epoch time, "This server is up 14300 days, 5 hours, 49 minutes and 24seconds" any ideas how to f

sshd.config and AllowUsers

2007-03-26 Thread Jerome Santos
I have a few seperate users on my server, one user for which I want to dissallow ssh login. Now I've read the man page for sshd and I've read a lot of the documentation on this, but I'm still not clear one one point. By default, /etc/ssh/sshd.config shows all entries are commented out. I want to ad

Re: sshd.config and AllowUsers

2007-03-26 Thread Jerome Santos
Thanks for pointing me in the right direction, got it working properly now; found out the hard way to separate users by whitespace only, NOT commas. thanks On 3/26/07, Serge Basterot <[EMAIL PROTECTED]> wrote: > > Hello, > > On Mon, Mar 26, 2007 at 01:33:17PM -0400, J

time is always 10 minutes fast!

2006-04-18 Thread Jerome Santos
Hi there I've been trying to sync my system time using ntpd. I followed the FAQ on how to do this but it always seems that my time is 10 minutes fast. my /etc/ntpd.conf: # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses

Re: time is always 10 minutes fast!

2006-04-18 Thread Jerome Santos
**SOLVED** ( I think) First I killed ntpd, then did ntpd -s north-america.pool.ntp.org and got: set local clock to Tue Apr 18 13:28:59 EST 2006 (offset -3558.915779s) Except I want DST, so that it should show 2 PM. I can't figure out how to set this. On 4/18/06, Jerome Santos <[EMAIL P

Re: time is always 10 minutes fast!

2006-04-18 Thread Jerome Santos
That did it! Thanks a lot!!! Jerome On 4/18/06, Stuart Henderson <[EMAIL PROTECTED]> wrote: > > On 2006/04/18 14:34, Jerome Santos wrote: > > Except I want DST, so that it should show 2 PM. I can't figure out how > to > > set this. > > symlink /etc/localtime to /usr/share/zoneinfo/foo.

Can't install vim from ports

2006-05-08 Thread Jerome Santos
Hello I have tried to install vim from /usr/ports/editors/vim by doing: sudo make install and it ends up saying something like >> 6.3.069 doesn't seem to exist on this system. >> Attempting to fetch /usr/ports/distfiles/vim6/6.3.069 from ftp://ftp.vim.org/pub/vim/patches/6.3/. Trying 2001:610