Menu

#1 enable msyslog run with normal, nonroot user

open
nobody
None
5
2004-09-08
2004-09-08
zmarci
No

see the patch ;)

depends: libcap and libcap-dev

usage:
tar xfz msyslog-v1.08g-src.tar.gz
cd msyslog-v1.08g
patch -p1 -i ../msyslog-v1.08g-nonroot.diff
autoconf
configure --with-nonroot
make
make install

change the startup script:
add the -U <username> option (example after the -i
linux ;)

check <username> user can read+write the target logfiles
(chown <username> /var/log/....)

stop the old syslog and start the new version.

check the new instance write the logfiles
(less /var/log/messages ... or ls -l /proc/<syslog-pid>/fd)

Discussion

  • zmarci

    zmarci - 2004-09-08

    patch for msyslog-v1.08g

     
  • zmarci

    zmarci - 2004-09-16

    Logged In: YES
    user_id=1118040

    Hi all

    Here is a patch for the cvs version.
    (maybe better ...;)

     
  • zmarci

    zmarci - 2004-09-16

    patch for cvs version msyslog

     

Log in to post a comment.