If you have used the RPM install, you'd better use the
webalizer.root user, and run webalizer as that user.
To run a program as user webalizer use, for example:
sudo -u webalizer /opt/webalizer-2.01-10/webalizer -c
(In this case, I use the executable I compiled in the
/opt directory, and a generated conf file in a
temporal directory) I've never used this command
myself, so I don't know what problems you may
encounter using it.
As always, use the man command for further input, "man
--- Maurice Volaski <mvolaski@...
> > > DNS Lookup (5): Error: Unable to open DNS cache
> file dns_cache.db
> >> Error: Unable to save current run data
> >> Error: Unable to open file usage_200504.html!
> >> Error: Unable to open file index.html!
> >> Error: Unable to write history file
> >You obviously don't have permissions to write files
> in the directory.
> I figured it out. I actually set it up this way and
> didn't realize
> it. The output directory is in the location where
> the user can FTP
> into to upload the web files and could inadvertently
> erase/alter this
> directory and the webalizer output files. So I set
> the immutable flag
> on the directory. That even blocks root. Seems that
> I just need to
> change the owner of this directory and its contents
> to root to
> prevent the user from altering it.
> Maurice Volaski, mvolaski@...
> Computing Support, Rose F. Kennedy Center
> Albert Einstein College of Medicine of Yeshiva
Estudiante de Inform�tica de Gesti�n en la Udl (Lleida)
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!