Well this seems sort of odd...
I am running the C Shell as my root shell and I am trying to set an environment variable with setenv, but it doesn't appear to be working:
For that matter, why is bash telling me that this command isn't working when all indicators are that C is actually my shell?
Here is my root environment:
Furthermore, why is this environment, which for all intents and purposes purports to be C Shell actually behaving as bash???
Can someone offer a clue here?
Thanks in advance!
I am running the C Shell as my root shell and I am trying to set an environment variable with setenv, but it doesn't appear to be working:
Code:
[root@LBSD2:/usr/home/bluethundr]#setenv SUDOERS_BASE ou=sudoers,ou=services,dc=summitnjhome,dc=com
bash: setenv: command not found
[root@LBSD2:/usr/home/bluethundr]#setenv
bash: setenv: command not found
[root@LBSD2:/usr/home/bluethundr]#echo $SHELL
/bin/csh
[root@LBSD2:/usr/home/bluethundr]#which setenv
For that matter, why is bash telling me that this command isn't working when all indicators are that C is actually my shell?
Here is my root environment:
Code:
#Changing user information for root.
Login: root
Password: secret
Uid [#]: 0
Gid [# or name]: 0
Change [month day year]:
Expire [month day year]:
Class:
Home directory: /root
Shell: /bin/csh
Full Name: Charlie &
Office Location:
Office Phone:
Home Phone:
Other information:
Furthermore, why is this environment, which for all intents and purposes purports to be C Shell actually behaving as bash???
Code:
[root@LBSD2:/usr/home/bluethundr]#export HELLO=hello
[root@LBSD2:/usr/home/bluethundr]#echo $HELLO
hello
[root@LBSD2:/usr/home/bluethundr]#
Can someone offer a clue here?
Thanks in advance!