Project

General

Profile

Bug #78825

UI Shell ignores the system user shell selection and always defaults to bash for root

Added by Max Kruschwitz over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
New
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

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 to FreeNAS - Bug #79185: Use root user's configured shell for web shellReady for Testing

Associated revisions

Revision b4739d1b (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): use login(1) for webshell Ticket: #78825

Revision bc043b84 (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): use login(1) for webshell Ticket: #78825

Revision ebe42e72 (diff)
Added by William Grzybowski over 1 year ago

fix(middlewared): use login(1) for webshell Ticket: #78825 (cherry picked from commit b4739d1bd0a5b5a88d379bdd4cb0ffff699b6ab0)

History

#1 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Release Council to Erin Clark
  • Target version changed from Backlog to 11.2-U4

#2 Updated by Erin Clark over 1 year ago

  • Assignee changed from Erin Clark to Lola Yang
  • Needs QA changed from Yes to No

#3 Updated by Lola Yang over 1 year ago

  • Category changed from GUI (new) to Middleware
  • Assignee changed from Lola Yang to William Grzybowski

#4 Updated by Bug Clerk over 1 year ago

  • Status changed from Unscreened to In Progress

#5 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Bug Clerk over 1 year ago

  • Target version changed from 11.2-U4 to 11.3-BETA1

#7 Updated by Bug Clerk over 1 year ago

  • Copied to Bug #79185: Use root user's configured shell for web shell added

#8 Updated by Dru Lavigne over 1 year ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3-BETA1 to Master - FreeNAS Nightlies
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF