Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
metalog: how to allow all users to view syslog?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Tue May 09, 2017 9:15 am    Post subject: metalog: how to allow all users to view syslog? Reply with quote

metalog seems to be working fine out of the box. i can see logs dumped on the spare terminal. however, i would like to have a tmux window displaying the same, and for all users not just root.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1777

PostPosted: Tue May 09, 2017 10:33 pm    Post subject: Reply with quote

There should be some config option to set chmod, but I don't see it in manpage at the first glance, so here is another thing that should work:

chmod 1755 /var/logs
Files and directories created afterwards will inherit rw permissions from their parent directory. Sticky and exec bits will not be inherited because they have different meaning on files than on directories.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Thu May 11, 2017 11:26 am    Post subject: Reply with quote

i think metalog might be overkill for simple requirements. i switched to busybox-syslogd, which allows users to "logread -F".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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