Project

General

Profile

Actions

Todo #7762

closed
JP RB

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

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

Added by Jim Pingle about 9 years ago. Updated over 8 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.

JP Updated by Jim Pingle almost 9 years ago Actions #1

  • Target version changed from 2.4.1 to 2.4.2

Moving target to 2.4.2 as we need 2.4.1 sooner than anticipated.

JT Updated by Jim Thompson almost 9 years ago Actions #2

  • Assignee set to Renato Botelho

JP Updated by Jim Pingle almost 9 years ago Actions #3

  • Target version changed from 2.4.2 to 2.4.3

JP Updated by Jim Pingle over 8 years ago Actions #4

  • Target version changed from 2.4.3 to 2.4.4

RB Updated by Renato Botelho over 8 years ago Actions #5

  • Status changed from New to Feedback
  • Target version changed from 2.4.4 to 2.4.3
  • % Done changed from 0 to 100

It was already fixed in commit ee4701adf85a6b5cb2f8d37f5fdeb7a5668eb674 almost a month ago. I forgot to update the ticket

JP Updated by Jim Pingle over 8 years ago Actions #6

  • Status changed from Feedback to Resolved

Works

Actions

Also available in: Atom