Kevin Halpin <email@hidden> on Monday, April 4, 2005 at
11:30 AM +0000 wrote:
Create the new "correct" user in wgm and point the home folder the
correct
location.
Delete the contents of the /new/ folder
rm -r /path/to/newTeacherFolder/*
ditto the contents of the old folder into the new one
ditto -rsrc /path/to/oldTeacherFolder/ /path/to/newTeacherFolder/
Correct privs
chown -R teacherName teacherFolder
OK, I'm not a terminal person at all, so my question here is, how
are
these commands any different from creating a new user, deleting
all the
folders in the new home, copying the old folders into this new
one and
setting the correct privileges? Thanks for your help.
Laurie,
first and foremost you don't need to log into the rig as root. Second
changing permissions in the Finder is flakey (even Apple
recommends you
use
chown, see kbase artnum 106824 for something similar). Besides
that they
perform the same functions.
OK- since I'm not all that comfortable in terminal, let me ask you
some
quesitons.
After I do rm -r, can I then drag the new teacher folder to the
terminal
window instead of typing in the path? Also, is that a space after
the rm?
rm -r /path/to/newTeacherFolder/*
Again, after I type ditto -rsrc, can I drag and drop the old folder
and
new folders? If so, would there be a / between them?
Give me a little more info on the chown -R. Exactly how do I do
that, I
know how to change the privelegs manually, but I would want to make
sure
that I get them correct for each folder. Thanks for your help. I
need
terminal directions to be pretty literal, or else I'm afraid I'll
screw it
up!
:) Laurie
Hmmmm... how about just change the names on the user account and
update the home folder and group memberships to match?
(Page 117 of the OD Admin guide for shortname changes.)
Or at worst, create a new user then rename and chown the existing
home to match.
Josh
--
Josh Wisenbaker, ACSA
http://www.afp548.com
Breaking my server to save yours.