Results 1 to 8 of 8
Hi All,
How do I lock a user to a directory?
I have changed their home directory to where I want them to be, but they can still see the ...
- 02-06-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
User Accounts
Hi All,
How do I lock a user to a directory?
I have changed their home directory to where I want them to be, but they can still see the other directories.
Thanks
wazzy_c
- 02-06-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
you might try "rbash" as that user's shell
the sun is new every day (heraclitus)
- 02-06-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
Hi there,
thanks4 the help. Can you please provide me with a more detailed answer regarding bash ?
THX
- 02-06-2007 #4
hi wazzy_c !
Welcome to the LinuxForums.
check man pages of 'rbash'.
man rbash.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-06-2007 #5Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
Thanks for the help ppl.
Please would someone explain to me excatly how to lock a user in a certain directory so that the user cannot cd into other directories
- 02-06-2007 #6
which linux distro are you using?
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-06-2007 #7Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
Fedore Core 3
- 02-06-2007 #8
okk !
set group and other permissions of each user's home folder to null.
by default, users have read permissions, they can 'cd' to other user's home folders and view files.
use chmod command to set permissions.
check manual of chmod too.Code:chmod 700 /home/<user's_home_folder>
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote