Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
1 4
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Sep
24
awarded  Autobiographer
Sep
17
awarded  Notable Question
Apr
10
awarded  Popular Question
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
Thank you very much, and have a great day/night. I'm researching about owners permissions right now so I will be able to sort out these things myself in the future.
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
I have updated the question.
Mar
27
awarded  Editor
Mar
27
revised How to restrict user to a particular folder in CentOS 6?
I have updated the question after some ls -ld commands on the server with regards folder permissions
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
I have tried chown arsenal /home/moove/public_html/dev/arsenal/ as root but I get the same error after I log in with the new created user 'arsenal'.
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
I understand that and it makes sense. An example of how would I accomplish that? I am still searching for a better written article that would help me understand and had no success yet, for the last half an hour. I only need a hint, a keyword, and I will take it from there. I know it must be something like chmod -R 755 /home/moove/public_html/dev/arsenal but to give "arsenal" user rights to that folder, right?
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
Quick question, is there anyway I can chmod that home directory by default somehow? I am getting this after login: Could not chdir to home directory /home/moove/public_html/dev/arsenal: Permission denied.
Mar
27
awarded  Scholar
Mar
27
accepted How to restrict user to a particular folder in CentOS 6?
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
This did the trick for me, thank you very much. Why would I need to fully chroot it, is this if they user will want more rights and access to more commands? Later edit: I'vr finally read what you wrote about Restricted Shell and there's no need for another answer, everything is clear now. Thanks!
Mar
27
comment How to restrict user to a particular folder in CentOS 6?
Thank you for your interest in helping me @Iain, however, cjc's answer helped me and it seems to work! Out of curiosity, I don't know what you mean by "interactive shell"?
Mar
27
asked How to restrict user to a particular folder in CentOS 6?