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 #1

Updated by Jim Pingle about 7 years ago

  • 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.

Actions #2

Updated by Jim Thompson about 7 years ago

  • Assignee set to Renato Botelho
Actions #3

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #4

Updated by Jim Pingle over 6 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #5

Updated by Renato Botelho over 6 years ago

  • 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

Actions #6

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Resolved

Works

Actions

Also available in: Atom PDF