View previous topic :: View next topic |
Author |
Message |
eNTi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/644131975434e394a00450.gif)
Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Wed Nov 23, 2005 2:02 pm Post subject: watching logs as user. |
|
|
i want to use root-tail as user on certain log files, like messages. but syslog-ng always makes them root:root/600, so i can't automatically startup root-tail with X. i need to login as root... is there a way to change the mask and ownership of logfiles permanently? e.g. root:wheel/640? _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rev138 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/115186396341f6ff26dd887.gif)
Joined: 19 Jun 2003 Posts: 848 Location: Vermont, USA
|
Posted: Wed Nov 23, 2005 2:17 pm Post subject: |
|
|
I have the following in my syslog-ng.conf for tenshi:
Code: | destination messages { file("/var/log/messages" owner("root") group("tenshi") perm(0640)); }; |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eNTi Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/644131975434e394a00450.gif)
Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Wed Nov 23, 2005 2:49 pm Post subject: |
|
|
thx. that was about what i needed . _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|