LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   password protecting directories (https://www.linuxquestions.org/questions/linux-general-1/password-protecting-directories-44790/)

jayakrishnan 02-10-2003 04:53 AM

password protecting directories
 
is there any why i can password protect linux under directories?
say when someone tries to execute the command

cd <directory-name>

it should ask for password

acid_kewpie 02-10-2003 05:08 AM

you should be setting up things such as this via access rights on the file system, preserving diredtory ownership and such. if you want a password for a certain directory i'd say maybe creating a special user who can only access that directory or such like. better though just to restrict it's access in the conventional ways.

markus1982 02-10-2003 05:49 AM

Or use an encrypted filesystem (will decrease performance and stability though) ...


All times are GMT -5. The time now is 07:57 AM.