newsyslog a vlastnici logu

Roman Neuhauser neuhauser at sigpipe.cz
Sat May 7 14:25:49 CEST 2005


# prehor at gmail.com / 2005-05-06 23:59:43 +0200:
> On 5/6/05, Jan Stary <hans at stare.cz> wrote:
> > To jest nove vytvoreny cerstvy log patri root:wheel (pod nimz
> > jede ten newsyslog). Da se newsyslogu nejak rict, aby nove vytvorene
> > soubory patrily stejnym userum, jakym patrily zarotovane logy?
> > 
> > Podle newsyslog.conf(5) lze rici user:group, to se ovsem tyka
> > logu, ktere jsem prave zalogoval (alespon tak si vykladam 'archive
> > file').
> > 
> >      owner:group
> >              This optional field specifies the owner and group for the archive
> >              file.  The `:' is essential regardless if the owner or
> >              group field is left blank or contains a value.  The field may be
> >              numeric, or a name which is present in /etc/passwd or
> >              /etc/group.
> 
> owner:group se pouzije pro nove zalozeny soubor po archivaci toho puvodniho.

    Coz je prave Hansovi k nicemu, protoze on chce mit pro kazdy vhost
    jinym uctem vlastneny (error_log, access_log), ale nechce mit
    v newsyslog.conf pro kazdy virtual host samostatny radek.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991



More information about the Users-l mailing list