6 月 302022
 

单个任务需要分阶段执行时的任务分拆设置

适用于任务在开始执行并首次更新进度后存在暂停执行后继续执行的情况。

基线开始时间:6月27日
基线完成时间:7月5日
工期:7个工作日
实际开始时间:6月27日
当前任务进度:20%

该任务在7月28日起暂停执行,执行任务分拆操作。(工期不变,任务进度百分比按实际比例可能跨拆分后任务条形图)


该任务再次开始执行时,应拖动剩余部分任务条形图至实际开始日期(6月30日)处,已反映后续任务的实际开始时间。(工期不变)


拖动剩余部分任务条形图中进度条形图未覆盖部分至实际开始日期(6月30日)处。(工期改变)

6 月 302022
 

已设置基线的已开始任务在变更基线后的影响

设置基线
基线开始时间:7月5日
基线完成时间:7月11日
工期:5个工作日

设置基线后更新任务
实际开始时间:6月28日
完成百分比:30%

变更基线后(计划变更后再次设置基线)
基线开始时间:6月28日(取自任务当前“开始时间”)
基线完成时间:7月11日(任务当前未完成,即未设置实际完成时间,该基线完成时间取自当前“完成时间”)

工期:5个工作日(不变)

整体变化:

1,当前基线条形图变长。
2,当前任务条形图以设置新基线的时间点为界被截断,分别对齐当前”开始时间“和当前”完成时间“。

6 月 152022
 

Java Web服务以系统非特权用户deployer运行

查看特定系统命令的默认访问控制权限列表

[deployer@s4 ~]$ cd /usr/bin/
[deployer@s4 bin]$ getfacl curl wget scp sftp telnet
# file: curl
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: wget
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: scp
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: sftp
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: telnet
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

[deployer@s4 bin]$

禁用用户deployer对特定命令的访问

[root@s4 ~]# cd /usr/bin/
[root@s4 bin]# setfacl -m u:deployer:--- curl wget scp sftp telnet
[root@s4 bin]# getfacl curl wget scp sftp telnet
# file: curl
# owner: root
# group: root
user::rwx
user:deployer:---
group::r-x
mask::r-x
other::r-x

# file: wget
# owner: root
# group: root
user::rwx
user:deployer:---
group::r-x
mask::r-x
other::r-x

# file: scp
# owner: root
# group: root
user::rwx
user:deployer:---
group::r-x
mask::r-x
other::r-x

# file: sftp
# owner: root
# group: root
user::rwx
user:deployer:---
group::r-x
mask::r-x
other::r-x

# file: telnet
# owner: root
# group: root
user::rwx
user:deployer:---
group::r-x
mask::r-x
other::r-x

[root@s4 bin]#

使用非特权用deployer执行特定命令的错误提示

[deployer@s4 bin]$ curl
-bash: /usr/bin/curl: Permission denied
[deployer@s4 bin]$ wget
-bash: /usr/bin/wget: Permission denied
[deployer@s4 bin]$ scp
-bash: /usr/bin/scp: Permission denied
[deployer@s4 bin]$ sftp
-bash: /usr/bin/sftp: Permission denied
[deployer@s4 bin]$ telnet
-bash: /usr/bin/telnet: Permission denied
[deployer@s4 bin]$

其他可选命令

chmod chown chgrp