Project

General

Profile

Bug #79185

Use root user's configured shell for web shell

Added by Bug Clerk over 2 years ago. Updated over 2 years ago.

Status:
Ready for Testing
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I am a Z shell (Zsh) user and noticed that FreeNAS recently changed the root user to use zsh by default as well. This is great, thanks!

I belive this issue to be minor and cosmetic. Nevertheless the expected behaviour for changing the shell for root would be to get that particular shell when using the UI Shell (/ui/shell).

Reproduce FreeNAS-11.2-U2.1 with:
  1. Set the root user shell to /usr/local/bin/zsh using UI:Account->Users->root->Edit->Shell
  2. Open Shell using UI:Shell
  3. In the Shell window type: echo $0

Result: /usr/local/bin/bash
Expected Result: /usr/local/bin/zsh


Related issues

Copied from FreeNAS - Bug #78825: UI Shell ignores the system user shell selection and always defaults to bash for rootDone

History

#1 Updated by Bug Clerk over 2 years ago

  • Copied from Bug #78825: UI Shell ignores the system user shell selection and always defaults to bash for root added

#2 Updated by Bug Clerk over 2 years ago

  • Status changed from Unscreened to In Progress

#3 Updated by Dru Lavigne over 2 years ago

  • Target version changed from Master - FreeNAS Nightlies to 11.2-U4

#4 Updated by Bug Clerk over 2 years ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne over 2 years ago

  • Subject changed from UI Shell ignores the system user shell selection and always defaults to bash for root to Use root user's configured shell for web shell
  • Needs QA changed from No to Yes
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF