Project

General

Profile

Actions

Bug #15463

closed

New admin user is not shown the console menu on SSH login

Added by João Matos 14 days ago. Updated 13 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Console Menu
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Default
Affected Plus Version:
Affected Architecture:

Description

A new admin user is not shown the console menu on SSH login.
The new admin user in question has the same effective privileges as the default admin (WebCfg - All Pages and User - System: Shell account access).
The menu I refer is this

  • Welcome to pfSense 2.7.2-RELEASE (amd64) on pfSense ***

    WAN (wan) -> re1 ->
    LAN (lan) -> re0 ->
    BRIDGE (opt1) -> bridge0 -> v4: 192.168.255.253/24

    0) Logout (SSH only) 9) pfTop
    1) Assign Interfaces 10) Filter Logs
    2) Set interface(s) IP address 11) Restart webConfigurator
    3) Reset webConfigurator password 12) PHP shell + pfSense tools
    4) Reset to factory defaults 13) Update from console
    5) Reboot system 14) Disable Secure Shell (sshd)
    6) Halt system 15) Restore recent configuration
    7) Ping host 16) Restart PHP-FPM
    8) Shell

Enter an option:

Actions #1

Updated by Kris Phillips 13 days ago

This is expected behavior. Only the admin user account will have the pfSense menu present iself on login.

To launch it as an admin user, you can run "/etc/rc.initial" from the session to get the menu.

Actions #2

Updated by João Matos 13 days ago

Kris Phillips wrote in #note-1:

This is expected behavior. Only the admin user account will have the pfSense menu present iself on login.

To launch it as an admin user, you can run "/etc/rc.initial" from the session to get the menu.

Usually it is a Best Pratice to create a different admin user (eg. new_admin) and disable the default one (admin).
I run the script you mention and it sure shows the menu, but when I select the 8) Shell option it doesn't appear to be in root mode.
Am I mistaken?

Actions #3

Updated by Chris W 13 days ago

Additional users will need to use sudo to perform actions with root privilege, and the sudo package can be installed in System > Package Manager. If you spefically want a root shell, you'll need to use option 8 as the default admin user.

Actions #4

Updated by Chris W 13 days ago

  • Status changed from New to Not a Bug
Actions #5

Updated by Chris W 13 days ago

  • Status changed from Not a Bug to Closed
Actions

Also available in: Atom PDF