function shellModify() { global $gbl, $sgbl, $login, $ghtml; if_demo_throw_exception(); $shell = fix_disabled($this->main->shell, $sgbl->__var_noaccess_shell); lxshell_return("usermod", "-s", $shell, $this->main->nname); if ($this->main->isOn('disable_system_flag')) { lxshell_return("usermod", "-L", $this->main->nname); } else { lxshell_return("usermod", "-U", $this->main->nname); } }
function shellModify() { global $gbl, $sgbl, $login, $ghtml; $shell = fix_disabled($this->main->shell, $sgbl->__var_noaccess_shell); //lxshell_return("usermod", "-s" , $shell, $this->main->nname); }