Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
watching logs as user.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Nov 23, 2005 2:02 pm    Post subject: watching logs as user. Reply with quote

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
View user's profile Send private message
rev138
l33t
l33t


Joined: 19 Jun 2003
Posts: 848
Location: Vermont, USA

PostPosted: Wed Nov 23, 2005 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Nov 23, 2005 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum