All Projects → s57445560 → user_command_web

s57445560 / user_command_web

Licence: other
这是管理需要vpn登陆的linux平台,来管理用户和推送任务

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to user command web

fabric-smart-client
The Fabric Smart Client is a new Fabric Client that lets you focus on the business processes and simplifies the development of Fabric-based distributed application.
Stars: ✭ 40 (-2.44%)
Mutual labels:  fabric
Melani-Modpack
Performance perfected; a fabric modpack aiming for the stars. 🌠
Stars: ✭ 12 (-70.73%)
Mutual labels:  fabric
3d-Skin-Layers
Renders the player skin layer in 3d
Stars: ✭ 63 (+53.66%)
Mutual labels:  fabric
MinecraftDeveloperGuide
📝Minecraft developer Chinese guide,我的世界开发者中文指南
Stars: ✭ 1,307 (+3087.8%)
Mutual labels:  fabric
DimensionalThreading
An attempt to optimize the fabric server, by assigning each dimension their own thread.
Stars: ✭ 219 (+434.15%)
Mutual labels:  fabric
Fabric-ASM
Just what Asie never wanted
Stars: ✭ 98 (+139.02%)
Mutual labels:  fabric
altoclef
Plays block game
Stars: ✭ 272 (+563.41%)
Mutual labels:  fabric
django-boilerplate-3.6.1
Django served by Gunicorn running behind Nginx reverse proxy. Deploy to AWS Elastic Beanstalk with Fabric3!
Stars: ✭ 13 (-68.29%)
Mutual labels:  fabric
identity
A modern morph mod for Fabric.
Stars: ✭ 64 (+56.1%)
Mutual labels:  fabric
fabric-loom
Gradle build system plugin used to automate the setup of a minecraft mod development environment.
Stars: ✭ 150 (+265.85%)
Mutual labels:  fabric
chain-project
Hyperledger fabric 1.0 include 3 orderer / 4 peer / 3 zookeeper / 4 kafka
Stars: ✭ 30 (-26.83%)
Mutual labels:  fabric
Quadz
An FPV drone simulator for Fabric
Stars: ✭ 16 (-60.98%)
Mutual labels:  fabric
bdk
Streamlined blockchain deployment kit for Hyperledger Fabric.
Stars: ✭ 43 (+4.88%)
Mutual labels:  fabric
cem
Reimplementation of Custom Entity Models in Minecraft for the Fabric Modloader
Stars: ✭ 92 (+124.39%)
Mutual labels:  fabric
old-animations
Client-side modification for Fabric that allows users to restore animations from older versions.
Stars: ✭ 19 (-53.66%)
Mutual labels:  fabric
DashLoader
Launch at the speed of light.
Stars: ✭ 99 (+141.46%)
Mutual labels:  fabric
Industrial-Revolution
An Industrial mod made for Fabric.
Stars: ✭ 153 (+273.17%)
Mutual labels:  fabric
Presence-Footsteps
An overly complicated footstep sound enhancement mod for Minecraft
Stars: ✭ 79 (+92.68%)
Mutual labels:  fabric
NaturesCompass
A Minecraft mod that allows you to search for a biome's location anywhere in the world and view information about it.
Stars: ✭ 42 (+2.44%)
Mutual labels:  fabric
fabric-example-mod
An elegant Minecraft mod template for the Fabric mod loader
Stars: ✭ 25 (-39.02%)
Mutual labels:  fabric

更新说明

此项目会根据使用情况,不定期更新,如有需要沟通可联系QQ:247435333

简介

此平台是 跨平台的账号管理,命令下发,使用。
使用场景,多平台都是通过vpn来登陆服务器操作的,此时不方便统一管理各平台,
这时是最适合使用此平台

功能:
    账号功能:增加,sudo,删除,密码修改,禁用。
    命令执行。
    服务器基础信息搜集



架构说明:
    
    前端使用:Vue, element-ui, axios
    服务端:django
    客户端:requests,fabric


    client ---> server
    客户端主动向server端请求api,来获取任务,推送数据,为了保证数据安全 之间使用了api认证。

    服务端下发任务,客户端主动获取。

平台使用说明

1、api认证设置 与平台认证

api认证:

服务端 execute_task/execute_task/settings.py    内的 APPID 参数是自定义api认证鉴权码
客户端 client/settings.py                       也有一个 APPID 需要和服务端的配置成一样的鉴权码,否则会认证失败。


平台认证:

服务端:http://192.168.6.125:8008/admin/    内部有一个Groups表,在里面添加平台名称。
                                            只有添加了平台名称客户端才能正常上报。
客户端:client/settings.py                  参数 QY_NAME 是以什么平台名称来上报数据。

2、平台权限管理。

平台管理的粒度很细,可以针对 各种请求,携带的各种参数,来做认证,也可以针对业务来做认证。

execute_task/task/permission_list.py 是权限管理的条目, 它是一个字典。

字典解析:

   command_post_cmd 权限对应的自定义代码,在admin内设置权限时使用
   command 是url.py内对应的url name 
   POST 指定是什么请求
   [] 需要携带什么参数
   {"status":"cmd"} 明确指定携带参数的value是什么
   custom_perm_logic.only_view_own_customers 是权限自定义钩子,可以针对自己的业务来自定义权限,返回True/False

'command_post_cmd': ['command', 'POST', [], {"status":"cmd"}, custom_perm_logic.only_view_own_customers]

使用方法:
    在admin内打开,设置权限条目,设置用户组,和用户,来对其进行权限控制。

3、平台部署

服务端安装:
    默认使用的数据库是 sqlit3,如需更换请自行修改配置,python需要使用 3

客户端安装:
    安装fabric模块和 requsts模块即可。
    启动: bash start.sh start 

4、客户端管理其它服务器的方法

使用的fabric来管理此平台下的其它服务器。
1、可以使用文件类型的方式记录主机ip和密码
    data/ip.conf  第一列是ip 空行后 第二列是密码

2、使用ssh认证免密码登陆,但是也需要在 data/ip.conf内写入ip地址,密码列可以随便填写。

平台展示

登陆页面

image

主页面

image

用户页面

image

命令执行

image

image

主机信息

image

admin后台groups管理与权限控制

image

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].