mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-24 04:52:39 +00:00
此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
11 lines
114 B
Bash
Executable File
11 lines
114 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
|
|
trap '' SIGINT
|
|
base_dir=$(dirname $0)
|
|
|
|
export LANG='zh_CN.UTF-8'
|
|
python $base_dir/connect.py
|
|
|
|
exit
|