其实关于降权运行,也就这么一句: su - user -c "xxxxxx",也没必要写一篇文章来解释,但是出于安全考虑,以及对之前出现的aria2权限过高的问题,写一篇详细解释的文章。 1.降权运行程序的方法: 先查看下su命令的解释: su -help 用法: su [选项] [-] [USER [参数]...] 将有效用户 id 和组 id 更改为 USER 的 id。 单个 - 视为 -l。如果未...
最近更新文章
-
更新时间: 1 天前
-
(转载)The authenticity of host ‘IP’ can’t be established:ssh客户端登录Linux系统出错解决记录
更新时间: 6 天前
-
更新时间: 10 天前
-
更新时间: 12 天前
-
更新时间: 12 天前