Commit Graph

12 Commits (d5aa9324fa1df4f820fb62f58ab92483c84be564)

Author SHA1 Message Date
ibuler 777997202b patch again with 1f09a40c77
print => debug
2016-04-05 22:37:55 +08:00
ibuler 1f09a40c77 fix(user manage and connect first login)
When delete a user, but didn't delete the user sysuser key. When create
a user with same username, error occur.

When user login tty, and type a num first, it will search a host, but
login the asset with the id.

fixed
2016-04-05 22:34:37 +08:00
ibuler 69061791ed fix(user edit) 修改用户导致密码问题
简单修改,更改结构和变量名

close #160
2016-03-25 17:18:41 +08:00
ibuler fbc3078c07 fix(userdel) 修复无法删除在线用户bug
当用户已经登录到jumpserver时,web上删除用户时失败,也没有提示

修改方法: userdel -r -f 强制删除

close #156
2016-03-24 18:04:04 +08:00
ibuler 0a35f757e9 modify(function arg) only for writing style
修改函数使用kwarg
2016-02-24 14:46:28 +08:00
ibuler b6fc8b777f change(juse) 修改用户添加流程
1. 添加新用户,不在为该用户设置密码
2. 强制用户使用key登陆跳板机,为了安全性
3. 更改邮件文案和不发送邮件提示文案
2016-02-24 12:29:47 +08:00
ibuler 6be7003ac2 bugfix(登录初始化) 避免登录时ctrl+c进入系统内部
此bug信息见 #72
1. 修改思路 重命名zzjumpserver.sh,并移动到外层
2. 服务器添加用户时指定shell为 some_dir/jumpserver/init.sh

升级修复方案:
1. 删除/etc/profile.d/zzjumpserver.sh
2. git pull 更新
3. vim编辑 /etc/passwd,把之前建的用户的sh改为 some_dir/jumpserver/init.sh

终
Closes #72
closes #31
2016-02-23 17:40:33 +08:00
ibuler 9d7c30336e 修复中文字符报错 2016-01-11 18:12:30 +08:00
LI Yong 73522dc4c1 Ubuntu's passwd command doesn't support --stdin option, use chpasswd which is also available in CentOS 2016-01-07 14:09:11 +08:00
ParInshOvGotQuep ac40098ac5 修改硬编码的shell路径 2015-12-31 16:24:46 +08:00
ParInshOvGotQuep 90b875adae 修改普通用户默认shell为connect.py,修复jailbreak 2015-12-30 19:15:33 +08:00
ibuler 7b792907d3 merge with dev 2015-12-19 17:27:12 +08:00