[英]how to not allow other user to copy my script in remote server
experts, i am using a Linux server where the same username and password are used by other persons to login and perform their work.专家,我正在使用 Linux 服务器,其他人使用相同的用户名和密码登录并执行他们的工作。 Some time they delete and misplace my scripts from that server.So in order to overcome this problem i want to know are there any procedure so that other users of same id cannot see and access my scripts.I hope experts will help me in this regard.
有时他们会从该服务器上删除并放错我的脚本。所以为了解决这个问题,我想知道是否有任何程序可以让相同 ID 的其他用户无法看到和访问我的脚本。我希望专家在这方面能帮助我.
i am using `ssh` command to login
i am also trying to hide the script but not successfully done it.
Unix systems are not designed to protect against unwanted or malicious accesses from the same user. Unix 系统并非旨在防止来自同一用户的有害或恶意访问。 If all of the people on the machine are using the same user account, then to a Linux or Unix system, they are the same user, and each and every human has the same privileges to act on that file.
如果机器上的所有人都使用同一个用户帐户,那么对于 Linux 或 Unix 系统,他们是同一个用户,每个人都有相同的权限来操作该文件。
If you want to have different access control permissions for different humans, then they need to have different accounts.如果您想为不同的人拥有不同的访问控制权限,那么他们需要拥有不同的帐户。 This is the basis of security permissions for Unix systems.
这是 Unix 系统安全权限的基础。 This is also why many daemons run as their own unprivileged user: so that if one process gets compromised, it is unable to negatively affect other things on the system.
这也是为什么许多守护进程以自己的非特权用户身份运行的原因:因此,如果一个进程受到威胁,它就无法对系统上的其他事物产生负面影响。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.