tset is not a standard command but part of the ones providing SunOS 4 (i.e. BSD) compatibility to Solaris. You need to have /usr/ucb in your PATH for the shell to be able to run it but, unfortunately, you set the PATH too late for tset to be found.
Either put the whole path to call tset:
or simply move the PATH assignment at the beginning of your .profile script.
By the way, there are some pointless components in your PATH:
/usr/bin is added while it is certainly already in the initial PATH.
/bin is added but is already there (/bin is a link to /usr/bin on Solaris)
/usr/xpg4/bin is added but no command will be picked from it as all will be found in /usr/bin which appears first in the PATH (/usr/xpg4/bin only makes sense when put at the beginning of the PATH)
/lib is duplicated
/etc shouldn't be there (commands here are just symbolic links to real ones in /usr/sbin or /sbin).
/var/adm shouldn't be here as no commands are expected to stay here
Hi,
I have to run a sqr program.
In the profile file everything is set.
e.g
APPLID=personel
APPPATH=/${ENVIRONMENT}/${APPPATH}
and so on..
SQRDIR=/opt/sqr/bin/syb
Still when I'm running this script,its giving error APPLID not set and SQRDIR not set.
Any idea,why?
TIA (5 Replies)
when I log into my solaris box, my environment variables are not getting set, and i am getting this error? any ideas?
-sh: ORACLE_BASE=/u01/oracle: is not an identifier
part of .profile is:
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=$ORACLE_BASE/app/products/10.2.0/db_1
... (6 Replies)
I have to write a rbac script to add something into a role's profile, this script will be executed for many times, during this script, it will add a block into the profile.
if the profile exists, it should check the block has been there, if, just replace it with the latest settings, take an... (0 Replies)
Hi
I have a profile execution issue, I log on to a linux machine , then i do sudo to another user as sudo su - <username> , then <username> .profile executes properly but when I type something I loose all environment varaible and my prompt changes to '$' loosing the PS1 value that I have... (1 Reply)
I have created profile file for zfs root (flash) on a wanboot server when i try to validate the rules file with check i get following error .. i 'm not sure why i 'm getting this error .. can any one help me on this ?
# ./check
Validating rules...
Validating profile profile...
Error in... (0 Replies)
Hi All,
I have my own .profile file and environment file.
To execute some commands I always need to load some module using module command and change my environment files to project environment file (. /some/project/some/path/init.environ).Without changing my environment file to project file,... (2 Replies)