如何:允许2个linux / Ubuntu用户输入目录,但不能输入其余的目录。 [英] HOW TO: Allow 2 linux/Ubuntu users to enter a directory but not the rest of them.
本文介绍了如何:允许2个linux / Ubuntu用户输入目录,但不能输入其余的目录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好。我想知道如何通过命令行实现它。
Hello there. I was wondering how to make it happen through the command line.
推荐答案
创建一个新组并将这些用户添加到组中。然后设置目录权限,以便只有该组的成员才能访问。
Create a new group and add these users to the group. Then set directory permissions so only members of that group can have access.
这篇关于如何:允许2个linux / Ubuntu用户输入目录,但不能输入其余的目录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文