How change default login shell for Shell-user?

Discussion in 'Installation/Configuration' started by atomlab, Sep 28, 2011.

  1. atomlab

    atomlab New Member

    Hi. I create new Shell user.
    Sites -> Shell -> Add new Shell-user
    In table "shell_user" and collumn "shell" it is inserted /bin/bash by default.
    I change default value in /usr/local/ispconfig/interface/web/sites/form/shell_user.tform.php

    /bin/bash to /bin/zsh

    'shell' => array (
                            'datatype'      => 'VARCHAR',
                            'formtype'      => 'TEXT',
                            'default'       => '/bin/zsh',
                            'value'         => '',
                            'width'         => '30',
                            'maxlength'     => '255'
    But in mysql table "shell_user" and collumn "shell" it is inserted /bin/bash again!

    How change default login shell?

    Thank you!
  2. till

    till Super Moderator

    You will have to change the default value for the shell column in the mysql shell_user table.
  3. atomlab

    atomlab New Member

    Sorry. You mean manual change for each new user in the mysql shell_user table?

    Whence ispconfig a beret of value by default for insertion in the table?
  4. till

    till Super Moderator

    No. I explained that you shall change th default value of the shell column in the shell_user mysql tabale. Default values can be changed e.g. with phpmyadmin.
  5. atomlab

    atomlab New Member

    I have understood all. It works!

Share This Page