AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

Is this safe: chmod o+r /var/adm/ras/diag_log

  • 1.  Is this safe: chmod o+r /var/adm/ras/diag_log

    Posted Tue April 08, 2008 06:15 PM

    Originally posted by: SystemAdmin


    I am working with code that needs to read the hardware error log to function properly. It is pre-compiled code so I have very little ability to make changes to it. However to reduce security exposure this code will not be running as root. As a result I finding myself needing to do the following

    $ chmod o+r /var/adm/ras/diag_log

    to give it the information it needs.

    Looking through the log I don't see much risk in this but it shipped restricting access to root.
    Is there a danger in this information gaining a wider audience?
    Thanks.
    #AIX-Forum