Menù Diagnostic, additional packages not show for custom users group.
-
Hi folks, I'll notice when made new user/group for watching statistic and log only, this issue, so I assign right permission to group , but never show up option (Diagnostic>iPerf) when login with my new user.
This is a bug?
For replacing this issue:
Prerequisites; Installed from package manager additional iperf and nmap package too.Go to System>User Manager>Groups, then add new group, named everything you want.
Next save it and edit again to Assign privileges.
Under Assigned Privileges click "+Add" to show
Add Privileges for "your new group" like "diagnostic" in my case.Go to bottom page, "Filter" form and insert "Diagnostic" , apply pilter and next select all showing up into "Assigned privileges" box.
then Save.
Make new user and assign the new group previously maded.
Login with new user credential, you can see not all Diagnostick additional package showing like iperf or nmap.Need to open bug ticket for this? I don't know.
Thanks in advance for any reply. Goodbye. -
Messing with new local groups and users assigned to those is useless until you reboot.
-
Well @doktornotor thanks for reply. Thanks for advice but I'll try to reboot, and no luck. :D
iperf,nmap or iftop menù entry is still not available for others, just like ntop setting "alone" only shows to me.
(I mean no ntop link for direct access, you know ntop make two menu entry…)And I try to messing (lol) under two pfsense box, one local apu2c4 and one remote asus eeepc running both latest 2.3.3 release.
Prerequisites are: Installed additional package like nmap iftop iperf.
My steps are:
Make new group and assign all Diagnostic stuffs;
Add new user and assign to my new Diagnostic group;
Rebooted pfs;
Login with new users, not show menu entry under diagnostic tab for this packages.****Additionally this steps I reinstalled all packages,
! > Reinstalling pfSense-pkg-iftop
Upgrading pfSense-pkg-iftop…
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):Installed packages to be REINSTALLED:
pfSense-pkg-iftop-0.17_2 [pfSense]Number of packages to be reinstalled: 1
[1/1] Reinstalling pfSense-pkg-iftop-0.17_2…
[1/1] Extracting pfSense-pkg-iftop-0.17_2: ….. done
Removing iftop components...
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Custom commands...
Writing configuration... done.Cleaning up cache... done.
Reinstalling pfSense-pkg-iperf
Upgrading pfSense-pkg-iperf...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):Installed packages to be REINSTALLED:
pfSense-pkg-iperf-2.0.5.5_1 [pfSense]Number of packages to be reinstalled: 1
6 KiB to be downloaded.
Fetching pfSense-pkg-iperf-2.0.5.5_1.txz: . done
Checking integrity… done (0 conflicting)
[1/1] Reinstalling pfSense-pkg-iperf-2.0.5.5_1…
[1/1] Extracting pfSense-pkg-iperf-2.0.5.5_1: …..... done
Removing iperf components...
Menu items... done.
Services... done.
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Custom commands...
Menu items... done.
Services... done.
Writing configuration... done.Cleaning up cache... done.
Reinstalling pfSense-pkg-nmap
Upgrading pfSense-pkg-nmap...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):Installed packages to be REINSTALLED:
pfSense-pkg-nmap-1.4.4_1 [pfSense]Number of packages to be reinstalled: 1
7 KiB to be downloaded.
Fetching pfSense-pkg-nmap-1.4.4_1.txz: . done
Checking integrity… done (0 conflicting)
[1/1] Reinstalling pfSense-pkg-nmap-1.4.4_1…
[1/1] Extracting pfSense-pkg-nmap-1.4.4_1: …..... done
Removing nmap components...
Menu items... done.
Loading package instructions...
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Menu items... done.
Writing configuration... done.Cleaning up cache... done.
Reinstalling pfSense-pkg-ntopng
Upgrading pfSense-pkg-ntopng...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):Installed packages to be REINSTALLED:
pfSense-pkg-ntopng-0.8.6 [pfSense]Number of packages to be reinstalled: 1
[1/1] Reinstalling pfSense-pkg-ntopng-0.8.6…
[1/1] Extracting pfSense-pkg-ntopng-0.8.6: …...... done
Removing ntopng components...
Menu items... done.
Services... done.
Loading package instructions...
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()...done.
Menu items... done.
Services... done.
Writing configuration... done.Cleaning up cache... done.
SuccessRelogin with previous user, still missing menù entry. :(
So I found really a bug into package installer? (lol) Or maybe additional packages missing itself the right script , I dont'know.
Best regards.
-
iperf,nmap or iftop menù entry is still not available for others, just like ntop setting "alone" only shows to me. (I mean no ntop link for direct access, you know ntop make two menu entry...)
No, I'm afraid I don't know what you mean by ntop direct access. Only what's available in the package is shown as menu entry, and nothing else.
https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-ntopng/files/etc/inc/priv/ntopng.priv.inc#L28
https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.xml#L32 -
The iperf thing is broken altogether - https://github.com/pfsense/FreeBSD-ports/pull/316
-
Well @doktornotor , I appreciate your interest in this matter, I saw what he did to correct the mistakes of the iperf package in pfsense menu. Thank you very much.
-
The iperf menu stuff is fixed with 2.0.5.5_3.