View previous topic :: View next topic |
Author |
Message |
klepto n00b
Joined: 03 Mar 2006 Posts: 18
|
Posted: Mon Mar 20, 2006 2:16 am Post subject: non-root user tail -f /var/log/messages |
|
|
I love the way that non root users don't even see alot of executables
but I need a regular user to tail the /var/log/messages but I get a permission denied.
Should I add the user to a specific group? All help is appreciated. |
|
Back to top |
|
|
brims Guru
Joined: 19 Apr 2004 Posts: 492 Location: Arizona
|
Posted: Mon Mar 20, 2006 2:58 am Post subject: |
|
|
Code: | # ls -lh /var/log/messages
-rw------- 1 root root 8.8K Mar 19 05:31 /var/log/messages |
Either you'll have to change the group to some other group and add any user you want to be able to read the file to that group and change the permissions to 540 on /var/log/messages, or change them to 504 and allow any user to read the file, which is probably the least desirable way. _________________ Adopt an Unanswered Post
Report violations, duplicates, misplaced, etc |
|
Back to top |
|
|
|
|
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
|
|