Celeb Glow
general | March 22, 2026

Access log file created by syslog as a normal user

I've created a user, but I'm not able to access my log file in /var/log. It says permission denied. I don't want to use sudo, as I want to access it from scripts too. I was able to achieve this by adding the user in /etc/sudoers file and adding NOPASSWD so that it doesn't ask for password. But I'm assuming it'll elevate the privileges of the new user to that of root, which I don't want. I'm not able to change the user of the log file too, probably since syslog is not owned by root, but by syslog user and it doesn't have enough privileges to do that.

6 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy