Conversion of grendel accounts for use with SGI’s

Step 1 – Convert your login files

Your existing login files were designed to properly log you in to grendel or any of the other Sun machines only. Roxana wrote a perl program that will make the changes to your login files for you to allow your login to work on multiple platforms. Currently supported ones are Sun. SGI and Linux.

To update your login, log on to grendel and type conv_acct . This program will attempt to look at your existing files, determine the differences, if any, with the Sun login and make changes to them. The following files are evaluated or created.

File Action

.xsession              delete or move to .xsession.old
.xinitrc                  delete or move to .xinitrc.old
.twmrc                 delete or move to .twmrc.old
.Xresources          log the existence
.Xdefaults             log the existence
.login                    replace
.login .personal     new file, contains just the unique lines from your old .login file
.login.arch            a copy of your original .login file
.login.local            new file, intended for user customization
.cshrc                   replace
.cshrc.personal     new file, contains just the unique lines from your old .cshrc file
.cshrc.arch           a copy of your original .cshrc file
.cshrc.local          new file, intended for user customization
.logfile                 A log of all the changes made to your account. Please do not delete this file!

 
Step 2 – Think about setting up your personal programs

You may have programs you wrote on the Sun and others you wrote on the SGI. You need a strategy to keep them straight. An easy way to do this is use a csh wrapper program to determine which platform you are on and launch the right one. For example say you have a program qwerty theat runs on both grendel and the SGI. Of course you have two different binaries. Create a wrapper program, such as Qwerty:

#!/bin/csh
# Qwerty, a wrapper for qwerty program
setenv OS `uname –s`
if ( $OS == SunOS) then
    $HOME/bin/qwerty_Sun
else
    $HOME/bin/qwerty_Irix
endif

Step 3 - Copy any files you need to save from your old home directory
Login to hermite. You will be using your new account. Your old files reside in /home1/youracctname. You can copy files you need to keep from there to your new account using the normal unix cp command.
 
Step 4 - That's it, Your done!

Just login to either the SGI or grendel with the same login and password you've used on grendel. To change the password on either system, type yppasswd.

  Back to FAQ   ,  Home Page