Account Migration - User Admin
This process assumes that you already have an account on the machine you are switching to. If you do not have an
account there you must create one before you can start the migration process.
PART ONE - Before You Migrate
Before you migrate your account, be sure to do the following:
- unsubscribe from all mailing lists. (This will make life easier in that your new address will be a location in the
domain "pps.pgh.pa.us". The variation may confuse a mail demon if at some time in the future you want to
unsubscribe from a list.)
- clean out your INBOX at oberon
PART TWO - Moving Your Mail
- Login to the server you are migrating to
- At the UNIX prompt type: cd mail (This changes to your mail directory on the server)
- Type: ftp oberon (This begins the file transfer protocol program.)
- At the prompts, enter your login and password
- At the ftp prompt type: cd mail (This changes to your mail directory on oberon)
- Type: prompt (This will eliminate the multiple questions as each folder transfers.)
- Type: mget * (This will get all the folders in your oberon mail directory and put a copy in your mail directory on the
server.)
- Type: bye (This takes you out of the ftp program once the file transfer is complete.)
- Type: cd .. (This takes you out of the mail directory and back to the /home/school/userid directory.)
- Typing pwd will show you your working directory
PART THREE - Moving Your Addressbook, ...
To bring over your address book, list of newsgroups you subscribe to, gopher bookmarks, Pine configurations,
and lynx bookmarks.
- Login to the server you are migrating to
- Type: ftp oberon.ckp.edu
- Type: prompt (This will turn off the interactive mode)
- Type: mget .*
- This will quickly copy all of the files that begin with a period to your new server.
- Type: bye
PART FOUR - Moving Directories and Files
You will need to do Step Four, only if you've created directories in your oberon account. To transfer all directories:
- Login to oberon.ckp.edu
- At UNIX prompt type:ls -al | more
This will show you all your directories and files one screenful at a time. To see the next screenful press the
spacebar. Directories are marked with a 'd' and files are marked by a '-' in the first column on the left. Make
a list of all directory names except for those that begind with a period (e.g. .tin). Alternatively you can save
this list to a file and then print the file by typing
ls -al | lpr -Pprinter_name
- Exit from oberon.ckp.edu and login to the server you are migrating to.
- Type: mkdir [name] Where name is a directory name from oberon.ckp.edu
What you are doing is making an exact duplicate of the directory structure on your new server. You will
have to do this for each directory you are copying.
- Type: ftp oberon
- Enter your login name and password at the prompts.
- Type: prompt
- Type: mget *
- This should rapidly copy all of your files, directories and subdirectories onto your new server.
- Type: bye
PART FIVE - Setting Your Maildrop
Tell your site administrator that you are ready to have your maildrop set to the schools server. Regular users can
not set their own maildrops. It must be done by the site administrator.
For Site Administrator's Only
- Login to titania.
- Type the following command:
/usr/local/sbin/setmaildrop userid userid@server.school.pps.pgh.pa.us
This will reset the specified user's maildrop to the server he/she will now be using. The maildrop change will take
effect at 2 a.m.
*Not for Useradmins*
For changes to become effective immediately.
*Not for Useradmins*
NOTE: Whenever you compose or forward mail on the TO: or Cc: line, you must type in the person's whole email
address (userid@pps.pgh.pa.us), unless that person has an account on the same host as you.
PART SIX - Cleaning Out the Oberon Account
After a couple of weeks, go back and clean out your oberon account.
- Login to oberon.ckp.edu
- Type: ls -al | more to view or ls -al | lpr -Pprinter_name to print a list of your files and
directories.
- Delete the directories and files.
To delete a directory and its files: Type: rm -r [name of directory]
To delete a file: Type: rm [name of file]
Multiple files can be deleted by using the wildcard * (e.g. rm *foo will erase all files that end in foo)
After each step has been completed your account will be ready to use on the new server.
Return to System Administration
Revision 1.05:April 29, 1996:CJR