Re: Permissions on /var/log/ files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 17.07.2013 21:15, schrieb Joe Zeff:
> On 07/17/2013 11:18 AM, Reindl Harald wrote:
>> i did: "otherwise my /var/log/maillog on my workstation would not have 644"
>> this is "logrotaded" - logrotate keeps the permissions/owner/group if
>> not specified like below (which is my own config-piece)
>>
>> /var/log/scriptlog {
>>      missingok
>>      notifempty
>>      size 30k
>>      create 0644 root root
>> }
> 
> I'm the only person who ever uses my laptop.  If I wanted, then, I could use this to make /var/log/messages world
> readable for convenience.  No, I'm not going to do it because unless I do it to all of my machines it's too
> confusing to remember which ones I've done it to and which I haven't, and I don't think it's a good idea in
> general.  (If nothing else, needing root access to read that file reminds you that what you're doing is "admin
> stuff," not normal user things.)

this is a very very bad reminder because you do not
all day long "cat /var/log/messages"

PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]
in your /root/.basrc leading to a red prompt is a much better one

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux