How to put a password on a folder
raxxiz
-
raxxiz -
raxxiz -
Hello,
I have some information that isn't necessarily very secret, but I would like to know how to restrict access to this folder.
I am on a work computer and sometimes other people are using this computer, and I cannot share the contents of this folder with them. To put it simply, I would like to be prompted for a password before opening the folder.
And if possible, without downloading any software since I have update issues that hinder me when I try to install new software. It would be preferable to have a method to adjust the access rights.
Thank you in advance, I hope I'm not being too bothersome with my request.
I have some information that isn't necessarily very secret, but I would like to know how to restrict access to this folder.
I am on a work computer and sometimes other people are using this computer, and I cannot share the contents of this folder with them. To put it simply, I would like to be prompted for a password before opening the folder.
And if possible, without downloading any software since I have update issues that hinder me when I try to install new software. It would be preferable to have a method to adjust the access rights.
Thank you in advance, I hope I'm not being too bothersome with my request.
4 answers
-
Hi
sudo chown -R toto /path/folder
To make toto the owner (if he isn't already).
sudo chmod 700 /path/folder
To limit access (Read/Write/Execute) to the only user toto.
You create a "guest" account and that's it.
https://doc.ubuntu-fr.org/permissions -
Look here..
https://openclassrooms.com/forum/sujet/proteger-un-dossier-avec-un-mot-de-passe-46422
it doesn't seem silly... -
-
Hello,
Silly question: are you really on Linux as suggested by the location of your question?
--
_______________________________ ☯ Zen my nuggets ☮ ______________________________
Do something for the environment, close your windows and adopt a penguin… 🐧