Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-101064

Use root user's configured shell for web shell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 11.2-U4
    • Component/s: Middleware
    • Labels:
      None

      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

        Attachments

        1. shell1.png
          shell1.png
          16 kB
        2. shell2.png
          shell2.png
          37 kB

          Attachments

            Activity

              People

              Assignee:
              william William Grzybowski
              Reporter:
              bugclerk Bug Clerk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Summary Panel