Permissions on /var/log/ files
Suvayu Ali
fatkasuvayu+linux at gmail.com
Wed Jul 17 20:31:27 UTC 2013
On Wed, Jul 17, 2013 at 12:57:02PM -0400, Matthew Miller wrote:
> On Wed, Jul 17, 2013 at 06:02:47PM +0200, Suvayu Ali wrote:
> > > Note that if you're using the systemd journal (and you are, in recent
> > > Fedora, including persistent logging to disk with F19), adding yourself to
> > > the 'systemd-journal' group will allow you to see system logs with
> > > 'journalctl'.
> > This doesn't seem to work.
> > $ journalctl
> > Unprivileged users cannot access messages, unless persistent log storage is
> > enabled. Users in the 'systemd-journal' group may always access messages.
> > $ groups jallad
> > jallad : jallad mock systemd-journal
> > $ whoami
> > jallad
> > Any thoughts?
>
> Type "groups" without your username to show your _current_ groups --
> remember that adding yourself to a group doesn't take effect until you start
> a new session. (E.g. by logging out and in again.)
That must be it. I did not relogin after adding myself to the group. I
have lots of important sessions that I do not want to close now.
However I tried this on my server, everything works after relogin.
Thanks!
--
Suvayu
Open source is the future. It sets us free.
More information about the users
mailing list