Project

General

Profile

Actions

Todo #7762

closed

Add uid check to pfSense-upgrade and exit unless it is run as uid=0

Added by Jim Pingle over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
08/09/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Running pfSense-upgrade as a non-root/admin user will produce errors that are not obviously related to lacking privileges to run it. As a courtesy to the user, it should exit if it is not being run by uid=0. That should cover it being run by root, admin, or via sudo.

Actions

Also available in: Atom PDF