<div dir="ltr">I&#39;m using Solaris 11.2 on a T5-2 SPARC server, and when I log in on the console (via ILOM, using PuTTY), the terminal type gets set to &quot;sun&quot;, which is really annoying.<div><br></div><div>I&#39;ve tried</div><div>svccfg -s system/console-login setprop ttymon/terminal_type=xterm<br></div><div>(followed by a reboot) and editing the /etc/profile line from</div><div>TERM=sun</div><div>to</div><div>TERM=xterm</div><div><br></div><div>and still the TERM variable is &quot;sun&quot; when I log in. What else can I try?</div></div>