Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加ssh私钥文件过期的功能,可自定义每个用户的过期时间,并有过期提醒。 #263

Closed
wants to merge 2 commits into from

Conversation

foreveryan
Copy link

@foreveryan foreveryan commented Jun 16, 2016

Update:

  • connect.py
  • juser/models.py
  • juser/views.py
  • templates/juser/user_add.html
  • templates/juser/user_detail.html
  • templates/juser/user_edit.html

add:
增加ssh私钥文件过期的功能,可自定义每个用户的过期时间,并有过期提醒。
数据库user表新增2列用于存储私钥过期信息。

数据库操作:
ALTER TABLE juser_user ADD COLUMN ssh_key_create_time datetime NOT NULL;
ALTER TABLE juser_user ADD COLUMN ssh_key_expired_days int NOT NULL;

fix:
用户重新生成私钥后忘记更新数据库记录

    connect.py
    juser/models.py
    juser/views.py
    templates/juser/user_add.html
    templates/juser/user_detail.html
    templates/juser/user_edit.html
add:
    增加ssh私钥文件过期的功能,可自定义每个用户的过期时间,并有过期提醒。
    数据库user表新增2列用于存储私钥过期信息。

数据库操作:
    ALTER TABLE juser_user ADD COLUMN ssh_key_create_time datetime NOT NULL;
    ALTER TABLE juser_user ADD COLUMN ssh_key_expired_days int NOT NULL;

fix:
    用户重新生成私钥后忘记更新数据库记录
@ibuler ibuler closed this Sep 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants