摘要:
将用户添加进sudo的附加组 若上面的方法不行 则进入root用户 执行命令 visudo 在"root ALL=(ALL) ALL“下面新增 username ALL=(ALL) ALL 阅读全文
posted @ 2020-08-26 11:38
mhly
阅读(153)
评论(0)
推荐(0)
摘要:
fatal: could not create work tree dir ‘xxxx’: Permission denied 原因:没有权限 解决: # 回退到当前目录的上一级 cd .. # dirname为当前目录的名字 sudo chmod o+w dirname 阅读全文
posted @ 2020-08-26 11:36
mhly
阅读(6164)
评论(0)
推荐(0)
摘要:
修改用户附加组 usermod -G 附加组名 用户名 # 更改附加组三种方法(保持原有附加组) usermod -aG 组名 用户名 groupmems -a 用户名 -g 组名 gpasswd -a 用户名 组名 增加新用户 # 创建用户username useradd username # 给 阅读全文
posted @ 2020-08-26 11:08
mhly
阅读(124)
评论(0)
推荐(0)

浙公网安备 33010602011771号