It is probably due to the fact that your are running a c shell as the root user.
Check the /etc/passwd file:

    # grep root /etc/passwd

If the last field says /bin/csh, you are running a csh. Two options:

1) Keep running the csh.
    Edit the /.cshrc file. Set the path there two ways.

        set path=( /usr/local/bin /opt/CKPfw/bin ............)

    or

        setenv PATH /usr/local/bin:/opt/CKPfw/bin:........
 

    and
 
        setenv FWDIR  /opt/CKPfw/bin

2) Change the shell your are using for root. Change it to /bin/sh in the /etc/passwd file.

WARNING:

        If you do this make sure you do not log off. Telnet from your current prompt to yourself and log in as root.
        Just in case you screw up, hate to see you lock yourself out of your own system.

Hope this helps.
 

merlin
 

Ben Cuthbert wrote:

yes i have copied the .profile to /
and then edited it , and placed in all the correct lines, but i
still can't run the fwconfig

any ideas

On Thu, 03 Aug 2000, you wrote:
> You make this change in root's .profile (/.profile), if your OS is Solaris.
>  If you're running Linux, then you need to put it in /.bashrc .
>
> Jason
>
> At 09:33 AM 8/3/00 +0100, you wrote:
> >
> >Hi All
> >
> >Could someone tell me
> >
> >were i need to add the lines
> >
> >
> >FWDIR=/opt/CKPfw; export FWDIR to .profile
> >
> >bec when i add it near the top ,
> >and then do an init6 , it comes back up, but i am unable to run
> >the /opt/CKPfw/bin/fwconfig
> >
> >it tells me that i need to setenv path or something,
> >
> >
> >
> >===========================================================================
> =====
> >     To unsubscribe from this mailing list, please see the instructions at
> >              http://www.checkpoint.com/services/mailing.html
> >===========================================================================
> =====
> >
> >

================================================================================
     To unsubscribe from this mailing list, please see the instructions at
              http://www.checkpoint.com/services/mailing.html
================================================================================

-- 
Barry W. Kokotailo
Senior Unix Systems Administrator
1-780-675-6399
PGP =  71 71 96 A3 C0 C2 23 7A  23 4E D4 04 8C E0 42 6B  B0 2D D1 A5
 


Reply via email to