[Sunhelp] Environment & Routing Questions

Anthony Barnes tony.barnes at cimlinc.com
Mon Aug 16 12:06:44 CDT 1999


1.  export PATH=/path:/path/subpath:/path/subpath/subsubpath    You can 
append (or prepend) by doing something like export PATH=$PATH:/appendpath 
  or export PATH=/prependpath:$PATH
The Korn shell will look for the .kshrc file in a home directory.

2.  I do not believe that changing the users shell with the admintool will 
change .cshrc file into a .kshrc file.  You may need to copy some skeleton 
files into that directory.  You can verify the change took place by looking 
at the users entry in /etc/passwd or grep them out of the correct NIS map.

3.  Please let me know if you find a good answer to that question.  Aside 
of the routing tables I'm at a loss for an answer.

Luck


Anthony Barnes
Application Developer
Cimlinc, Inc. (www.cimlinc.com)
630.250.0090 x1500

-----Original Message-----
From:	Paul L. Terzulli [SMTP:pterzull at mitre.org]
Sent:	Monday, August 16, 1999 11:37 AM
To:	sunhelp at ohno.mrbill.net
Subject:	[Sunhelp] Environment & Routing Questions

 << File: pterzull.vcf >> Greetings & Salutations:

I am setting up an application on Sun boxes and have run into a few
configuration issues that I am looking for assistance with, any guidance
would be appreciated.

1.  I am trying to configure the PATH variable for a Solaris user
account running the Korn shell, as well as the "root" account.  I
understand the different shells have different files that set this
variable, but I have been having difficulty successfully making these
changes.  I have edited the
..profile file many times to reflect the correct setting, but it does not
seem to work.  What is the correct syntax for this variable for the Korn

shell?  On Sun running the Ksh, what is the correct file to set this
variable?  Are there multiple files?  What about for the root account?

2. I need to change the type of shell from C to Ksh.  I used admintool
to change the shell type, however, the home directory is still showing a
".cshrc" as the only user environment configuration file.  Should this
not change to a ".profile"?  How do make sure the change of
shell type was processed?

3.  I need to establish IP routing on these machines to specific
hostnames.  I understand how to set up name resolution services, however

I need the procedure to establish everything for server to server
communications specifically for email (i.e.  a default router, etc.).
Where can I
find this information?

Thanks.

P. Terzulli









More information about the SunHELP mailing list