Warn if auto-update script is running as root

Created on 20 March 2024, 3 months ago
Updated 19 April 2024, about 2 months ago

Problem/Motivation

Right now you could set up the auto-update script to run as server cron job run as root. You should not run this as root

Steps to reproduce

Proposed resolution

We should stop auto-update script from running as script but right now we should just warn otherwise we could stop a site from receiving an update if they were relying on current server cron job

Create a RootUserValidator(or something) that warns if being run as root.

Remaining tasks

In a follow-up in 3.1.x we should stop auto-update script

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024