I would just set up different groups for each, then go to /home and issue a 'chmod o-rwx *'. This can screw up peoples web pages if you are running a server and they set up their individual pages in a directory like '/home/<user>/public_html'. If so, just run the command recursively and then open the /home/<user> directory and the web page subdirectory. In this case, people will still be able to go in and see what files and dirs are in the users base directory, but they will not be able to open any. This assumes you are not running something like afs too, in which case you would probably not be asking the question and the method is different.
PS, you can just do a 'chmod go-rwx *' if you do not want to set up a different group for each.
Last edited by colnago; 12-09-2003 at 11:36 PM.
|