Re: [SLE] Enable one user access to /var/log/messages
Stuart Hall <stuarthall@mailandnews.com> wrote:
I would like one of my users (not root) the ability to check /var/log/messages from within roottail, however I do not want to give *every* user access - how is the best way to accomplish this?
You can create a group for users that should be able to read the logfiles. Then make the user a member of this group, change the group of /var/log/messages with chgrp and make the corresponding change in the file /etc/logfiles (otherwise sooner or later the group of the file will be reset by a cron job checking the logfile permissions). Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
eilert@informatik.uni-bremen.de