Project

General

Profile

Bug #32220

Do not display netcli shell option to non-root users in new UI

Added by Joe Maloney almost 2 years ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Attached in the screenshot the netcli shell shows //etc/netcli.sh with an extra slash which I will file as a separate issue if it is desired to keep this shell.

Mainly the problem I see here is when trying to log in as a user which has the shell as it's default:

Last login: Mon Apr 16 08:26:27 2018 from 10.0.1.24
FreeBSD 11.1-STABLE (FreeNAS.amd64) #0 6977f78dd(freenas/11-stable): Mon Apr 16 05:05:07 UTC 2018

FreeNAS (c) 2009-2017, The FreeNAS Development Team
All rights reserved.
FreeNAS is released under the modified BSD license.
For more information, documentation, help or support, go here:
http://freenas.org
Welcome to FreeNAS

This command must be run with root privileges.
Connection to freenas.local closed.

This seems invalid to have as a shell option for users if only root can use it?

History

#1 Updated by Dru Lavigne almost 2 years ago

  • Assignee changed from Release Council to Erin Clark
  • Target version set to 11.2-RC2

#2 Updated by Erin Clark almost 2 years ago

  • Assignee changed from Erin Clark to Vaibhav Chauhan

#3 Updated by Vaibhav Chauhan almost 2 years ago

  • Severity set to Low

setting to low as i think user can use other shell as well and it does not break functionality.

#4 Updated by Dru Lavigne over 1 year ago

  • Target version changed from 11.2-RC2 to 11.2-BETA3

#6 Updated by Vaibhav Chauhan over 1 year ago

  • Status changed from Unscreened to In Progress

#7 Updated by Erin Clark over 1 year ago

  • Status changed from In Progress to Ready for Testing

#8 Updated by Dru Lavigne over 1 year ago

  • Subject changed from netcli.sh invalid shell option for new users? to Do not display netcli shell option to non-root users in new UI
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#9 Updated by Bonnie Follweiler over 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Passed Testing in FreeNAS-11.2-MASTER-201808300858

#10 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF