1.

Solve : protection?

Answer»

hi.........
how can a file be password protected in linux.......? :-? [i mean when a perticular file or a DIRECTORY is tried 2 b opened by someone(other than owner) it should prompt him for the password of that file ]The Linux file system does not offer this kind of system. Neither does NTFS (Windows) for that matter. You should decide who you WANT to have access to the file, and grant them permission accordingly.

What exactly are you trying to do?

You always have the option of hiding any file or files in a password protected ZIP file...Quote

You should decide who you want to have access to the file, and grant them permission accordingly.

You always have the option of hiding any file or files in a password protected zip file...

................ so,how do i grant the permission to access my file(any kind) to the seleted ones............Create a group. Make that group the owner of the file in question. Add the RELEVANT users to that group.

Code: [Select]MAN useradd
man groupadd
man chown


Discussion

No Comment Found