enable host passwords (RFE 1754069)
This commit is contained in:
parent
7379e0b301
commit
a7d3bbd43c
|
@ -2,6 +2,7 @@
|
|||
- allow to switch sorting in the account lists
|
||||
- use suffix from account list as default for new accounts (patch 1823583)
|
||||
- Security: passwords in configuration files are now saved as hash values
|
||||
- Unix: allow to set host passwords (RFE 1754069)
|
||||
|
||||
|
||||
07.11.2007 2.1.0
|
||||
|
|
|
@ -982,6 +982,13 @@ class posixAccount extends baseModule {
|
|||
))),
|
||||
array('kind' => 'help', 'value' => 'createhomedir'));
|
||||
}
|
||||
if (count($shelllist)!=0) {
|
||||
$return[] = array(
|
||||
array('kind' => 'text', 'text' => _('Login shell').'*'),
|
||||
array('kind' => 'select', 'name' => 'loginShell', 'options' => $shelllist, 'options_selected' => array ($this->attributes['loginShell'][0])),
|
||||
array('kind' => 'help', 'value' => 'loginShell'));
|
||||
}
|
||||
}
|
||||
if (!isset($this->attributes['userPassword'][0])) {
|
||||
$return[] = array(
|
||||
array('kind' => 'text', 'text' => _('Password') ),
|
||||
|
@ -1006,13 +1013,6 @@ class posixAccount extends baseModule {
|
|||
)
|
||||
)));
|
||||
}
|
||||
if (count($shelllist)!=0) {
|
||||
$return[] = array(
|
||||
array('kind' => 'text', 'text' => _('Login shell').'*'),
|
||||
array('kind' => 'select', 'name' => 'loginShell', 'options' => $shelllist, 'options_selected' => array ($this->attributes['loginShell'][0])),
|
||||
array('kind' => 'help', 'value' => 'loginShell'));
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue