You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Changing the default shell to a different shell type

The available shells for the PerkinsMac are

      /bin/bash
      /bin/csh
      /bin/ksh
      /bin/sh
      /bin/tcsh
      /bin/zsh

To change a users shell from the default on the command line use

saturn:~ taylor$ /usr/bin/sudo dscl . -create /users/taylor shell /bin/tcsh

Example

[saturn:~] taylor% finger obs72
Login: obs72                            Name: Perkins Observer
Directory: /Users/obs72                 Shell: /bin/bash
On since Wed May 10 12:51 (MST) on ttyp1, idle 11:48
No Mail.
No Plan.
[saturn:~] taylor%
[saturn:~] taylor%  /usr/bin/sudo dscl . -create /users/obs72 shell /bin/tcsh
[saturn:~] taylor%
[saturn:~] taylor% finger obs72
Login: obs72                            Name: Perkins Observer
Directory: /Users/obs72                 Shell: /bin/tcsh
On since Wed May 10 12:51 (MST) on ttyp1, idle 11:50
No Mail.
No Plan.

[saturn:~] taylor%

-- Main.BrianWTaylor - 11 May 2006

  • No labels