Ejabber2.1.3 配置admin注册用户 ,禁止普通用户注册
2013-10-13 18:38
525 查看
打开:ejaberred.cfg
修改下面这两行 ,其中 register_from 为新加入
修改mod_register 模块 为:
修改下面这两行 ,其中 register_from 为新加入
%% To disable in-band registration, replace 'allow' with 'deny'. {access, register, [{allow, admin}]}. {access, register_from, [{allow, admin}]}.
修改mod_register 模块 为:
{mod_register, [ %% %% After successful registration, the user receives %% a message with this subject and body. %% %% {welcome_message, {"Welcome!", %% "Hi.\nWelcome to this XMPP server."}}, %% %% When a user registers, send a notification to %% these XMPP accounts. %% %%{registration_watchers, ["admin1@example.org"]}, {access_from, register_from} ]},
相关文章推荐
- Ejabber2.1.3 配置 注册不超时
- linux配置禁止密码登陆,普通用户赋予sudo权限
- 禁止在.net framework中执行用户代码。启用“clr enabled” 配置选项
- Linux禁止普通用户使用su切换到root用户
- PAM禁止root用户登录,限制普通su切换
- linux禁止root用户登录,并开启普通用户sudo权限
- 禁止在 .NET Framework 中执行用户代码。启用 "clr enabled" 配置选项--处理方法
- linux禁止普通用户切换至root用户的实例讲解
- rails3 中新用户注册、普通用户修改资料、管理员管理用户资料 权限之model 继承实现
- 普通用户注册 插入数据的存储过程
- 配置普通用户可以运行saltstack的模块
- 配置ssh密钥认证登录并禁止root用户直接登录
- 禁止root用户登录,只允许普通用户登录
- 如何禁止普通用户通过rsh登陆计算节点
- 普通的用户注册前台验证
- SQL 禁止在 .NET Framework 中执行用户代码。启用 "clr enabled" 配置选项
- mac安装zsh,给普通用户和root用户的配置不同的颜色和提示符
- Linux下的用户管理及SSH禁止用户登录和IP连接的配置
- 为注册用户实现复杂的数据类型配置--购物车
- 禁止在 .NET Framework 中执行用户代码。启用 "clr enabled" 配置选项