Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Yet another means of sharing a protected folder Network
To create a directory that can be accessed locally, as well as remotely by another user via AppleTalk (with a password and user name required for the remote user) do the following:
  1. Create a new user.
  2. Restart in System 9.
  3. Delete all of the folders in that user's folder (Desktop, Pictures, and so on). [Editor's aside: You should be able to do this with 'su' in the Terminal without rebooting, but I haven't tested this hint so I'm not sure about that!]
  4. Restart in OS X using your main user account.
Provide the user name and password for this new stripped down user account to the person(s) who need to share this folder. Needless to say, they will also need to know the name of your computer.

Put whatever you wish to share in this stripped user folder.

If you create a new folder or file in this shared directory, the remote users will be able to access them just fine since they are logged in as the owner of that account (files/folders have the owner/group of the folder they are created in).

If you move or copy files to this shared user account from your main user account (or some other user account on your computer), you will need to change their owner and group to match the shared user account or the remote user(s) won't be able to use them.

I use this system to allow students to upload their homework files to my notebook computer, without allowing them to roam around in the rest of my hard drive.
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[4,316 views]  

Yet another means of sharing a protected folder | 1 comments | Create New Account
Click here to return to the 'Yet another means of sharing a protected folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
passwd
Authored by: ackbar on Jul 27, '02 11:13:13AM

When setting up and account like this, it would be good to remove access privileges for this user to a utility such as passwd, so that users can't change the password and block everyone else out.

The administrator will still be able to change it if needed, but potentially mischievous users (such as students which were mentioned) won't be able to cause as much trouble.



[ Reply to This | # ]