• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 425
  • Last Modified:

Linux User needs access to logs only

I need to create an account that has access to ssh and can read the logs for apache Java etc. what permissions are needed? I am new to Linux so all commands will be needed
1 Solution
I'd say install a syslog server and regulate access to this, creating user accounts only for logs sounds a bit overkill.

Spin up a VM with minimum requirements and install Centos/Syslog.
Jan SpringerCommented:
I would install lshell and give that shell to the ssh account.

When configuring the lshell permissions, allow this account to "cd /var/log".

Then in sudoers, allow this account with no password, to view the logs (more, cat, tail, head, zcat, etc).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now