Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2011, 13:46
atomlab atomlab is offline
Junior Member
 
Join Date: Apr 2011
Location: Russia
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Question How change default login shell for Shell-user?

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

Example:
/bin/bash to /bin/zsh

Code:
...
'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!
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2011, 14:21
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,459
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

You will have to change the default value for the shell column in the mysql shell_user table.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th September 2011, 14:58
atomlab atomlab is offline
Junior Member
 
Join Date: Apr 2011
Location: Russia
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by till View Post
You will have to change the default value for the shell column in the mysql shell_user table.
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?
Reply With Quote
  #4  
Old 28th September 2011, 15:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,459
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Sorry. You mean manual change for each new user in the mysql shell_user table?
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th September 2011, 15:15
atomlab atomlab is offline
Junior Member
 
Join Date: Apr 2011
Location: Russia
Posts: 19
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by till View Post
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.
I have understood all. It works!
Thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
Email being accepted but not delivered punto Installation/Configuration 8 25th May 2011 00:13
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 14:51
sneaking suspicion my postfix config has gone awry mjbarfoot Installation/Configuration 7 24th August 2010 12:23
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 12:05


All times are GMT +2. The time now is 11:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.