You are not logged in.
Pages: 1
Hi,
I am wondering if it is possible to lock a document on my computer. My siblings tend to delete and/or open files and mess around with them. They do have an extensive knowledge of Linux and their actions are more of malice.
I am wondering if it would be possible to put a password on a file so that when you want to open it, it will ask for the password. The root account wouldn't be sufficiant. Thanks. ![]()
~Amunimanghi
Offline
man chattr
A file with the `i' attribute cannot be modified: it cannot be deleted
or renamed, no link can be created to this file and no data can be
written to the file. Only the superuser or a process possessing the
CAP_LINUX_IMMUTABLE capability can set or clear this attribute.Offline
Pages: 1