RSSAmplifier

Posts - Scott Robinson · @ssxio · Jan 8, 2022

Using logrotate as a non-root user

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

There may be situations when you need to use logrotate without having root access to the server that you’re dealing with. In these situations you can point logrotate at a state file in your home directory. First, create your logrotate configuration file with something like: /var/log/messages { rotate 5 weekly } and then save to ~/logrotate.conf . Next, touch your state file: touch…

Read on dor.ky

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.