top button
Flag Notify
Site Registration

Permissions on /var/log/ files in linux

0 votes
229 views

I'm tired of saying "sudo less /var/log/maillog" or "messages". Is there any non-paranoiac reason for not making /var/log/ files readable say by wheel?

posted Jul 17, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

Heck, you could always make your sudo password less and you could always assign the frequently used commands aliases.

answer Jul 17, 2013 by anonymous
0 votes

For /var/log/messages you could use `dmesg -T | less +G' instead.

answer Jul 17, 2013 by anonymous
Similar Questions
0 votes

I have an existing system which contains a LAN connected disk drive. I have added a new computer on which I installed Ubuntu (this is my first linux experience). From the Ubuntu computer I can read the files on the samba connected drive but I can not write to those files. I have tried to change the permissions but can not locate where the drive is mounted. So my question ishow do I change the permissions?

+2 votes

I have a huge code base and it is showing files with zero bytes .
Can someone share a linux command to delete files with zero bytes in one attempt ?

...