![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Directory inside directory problem | namishtiwari | Shell Programming and Scripting | 6 | 01-27-2008 01:07 AM |
| unable to create any directory that uses numbers as the directory name | fed.linuxgossip | UNIX for Advanced & Expert Users | 16 | 01-13-2008 05:54 PM |
| determining actual directory of a symlinked directory | chiru_h | Shell Programming and Scripting | 3 | 09-24-2007 04:40 PM |
| determine owner directory permissions from within the directory | Sniper Pixie | Shell Programming and Scripting | 4 | 03-07-2006 02:06 PM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 05:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Some users get on our server with ftp with a specific username (i.e. guest). The users guest has an own group. The user guest is in the path /usr/guests after login.
How can I lock the user guest that he don't get up to the /usr treee. I tried to change the rights for the .. But it's not anymore possible to log in as guest. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
I was not able to fully understand your question or configuration so the reply will be 'fuzzy' based on fuzzy
knowledge. <P> There are many way to restrict access to directories and subdirectories. One is using permissions (as you discuss briefly) another is the chroot command, which will comletely change the root 'of the tree'. <P> Normally, when adminstrators want remote users to have on certain commands and access they change the root directory of the users and provide them with a subject of the commands they need in a custom bin directory. So, instead of trying to restrict users to only a certain part of a large system; they are provided only access to the commands they need. This is much more secure, safer, and easier to manage by far. <P> <P> Recommendation: Check out the chroot() command and set up an environment for your 'guest users' using this strategy. |
||||
| Google The UNIX and Linux Forums |