Sharing Files with Some Other Users

jove

Member
I'm setting up cvs on my iMac. I created a new user and put the cvs repository in that user's home directory. I want to give permission to the other users who are developers (only) to read/write/create files, etc in the depository. Remote users will use ssh.

My plan is:
- make a new group
-add all the developers and the cvs user to the group
-make the repository and existing and new files in the depository belong to the developers group

I can do the last item with chgrp. As for the first two, I'm guessing that NetInfo Manager has something to do with it. I found a web page that shows how to use NetInfo Manager with the "usual format for etc/groups." That would be great if I knew the "usual format."

Can anyone point me in the right direction? Am I even trying to do the right thing??
 
man nice said:
NAME
nice - execute a utility with an altered scheduling priority

SYNOPSIS
nice [-n increment] utility [argument ...]

DESCRIPTION
nice runs utility at an altered scheduling priority. If an increment is
given, it is used; otherwise an increment of 10 is assumed. The super-
user can run utilities with priorities higher than normal by using a neg-
ative increment. The priority can be adjusted over a range of -20 (the
highest) to 20 (the lowest).

Available options:

-n increment
A positive or negative decimal integer used to modify the system
scheduling priority of utility.

Now, I've tried every permutation of that command I can think of, and all have failed (except `nice top` which, according to MaxMenus, doesn't run it as nice at all) :
[amras@nimbus ~]% nice -n 1 top
tcsh: nice: Badly formed number.
[amras@nimbus ~]% nice -n +1 top
tcsh: nice: Badly formed number.
[amras@nimbus ~]% nice 1 top
tcsh: 1: Command not found.
[amras@nimbus ~]% nice -+1 top
tcsh: nice: Badly formed number.


My application : I have a shell script called tunnel and builds all my SSH tunnels, and I'd like to have it run ssh as a negative nice without having to renice it later. I'd like to negative nice it because I usually connect from my iBook which is very very slow, so I'd like to speed up that particular part of the connection (de/encryption) even if just a little bit.

EDIT : Sorry the cold pills are taking over, I meant to make this a unique thread not a reply...please split me :p
 
Back
Top