Locking dirs so only the owner can access them
Howdy guys,
I noticed the machines that i'm using at school have it so only the root user can access the root dir. I like that idea and was wondering how you go about setting it. But not only the root dir, what about other users? Thanks |
This is not wise to do for certain directories (example /usr and company).
But just chmod -R go-rwx /home/usrname And then only the user will be able to read, write, or cd into their directories. |
the command would be .....
Code:
chmod to change the users dir Code:
chmod 700 /home/<user> chmod............ man chmod |
All times are GMT -5. The time now is 11:58 PM. |