![]() |
|
|
|
|
|||||||
| 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 |
| Evangelist: Mozilla has "historic opportunity" to advocate for users | iBot | UNIX and Linux RSS News | 0 | 02-25-2008 01:30 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 09:52 PM |
| Can you limit the compare on "comm" command | eja | UNIX for Dummies Questions & Answers | 0 | 03-23-2007 08:48 AM |
| Want to create new users without using "useradd" command and user Interaction. | syedifti | UNIX for Dummies Questions & Answers | 2 | 10-09-2001 02:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Limit "exploring" from users/groups
I have a unix box which runs as a webserver and ftp server. I have a user account for a friend and while I trust him, I noticed that he can view directories above his own "web" folder which is his default directory.
I'm still trying to understand users/groups and privileges so bear with me if this is merely a matter of changing his group permission settings. He is in his own group called "web" so he's not confused into the local users group. Can I restrict this group to only view his "web" directory and lower? |
| Forum Sponsor | ||
|
|
|
|||
|
Here...
Good question...
in UNIX the system privileges work this way: 1. first system checks if the owner has the rights, if he/she does no other verifications will be performed. 2. then it checks the primary group that user belongs to if the right is granted no other verifications will be made 3. the same with other groups he/she belong till "others" or "world permissions will be hit. there is chmod command that allows you to control permissions. For directories there is a "sticky" bit that means prohibition to delete files belong to other. It is kind of big subject. Get "UNIX Essentials and UNIX Core" DVD it explains all this stuff. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|