Unanswered: What is the difference between su and su - ?
I have a problem with su and su - command. Basically when I su <username>, my program works fine. If I use su - <username>, I can login without problem but when I run dbaccess (command to access database utility in informix), it gave the following errors:
"The type of terminal is unknown to the system"
FYI, I didn't get this error when I login using su <username> (without the -) and excute dbaccess command. I would appreciate if you can enlighten me. I just wonder where went wrong. Thank in advance.