<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 20/07/18 15:22, Craig Hopkins wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAHxzyv_dvRQJvN_3hnmQmQ7NDyQ9WF9oeAdqRG68EkOYubfLA@mail.gmail.com">
      <div dir="ltr"><br>
        <div class="gmail_quote">
          <div><br>
          </div>
          <div>That's only part of it, though. I still need the right
            .cloginrc commands. If I use ulogin, then:</div>
          <div><br>
          </div>
          <div>
            <div>$ ulogin MYDEVICE</div>
            <div>MYDEVICE</div>
            <div>spawn ssh -x -l ubnt MYDEVICE</div>
            <div>Welcome to EdgeOS</div>
            <div><br>
            </div>
            <div>By logging in, accessing, or using the Ubiquiti
              product, you</div>
            <div>acknowledge that you have read and understood the
              Ubiquiti</div>
            <div>License Agreement (available in the Web UI at, by
              default,</div>
            <div><a href="http://192.168.1.1" moz-do-not-send="true">http://192.168.1.1</a>)
              and agree to be bound by its terms.</div>
            <div><br>
            </div>
            <div>Linux MYDEVICE 3.10.107-UBNT #1 SMP Fri Jun 22 14:27:52
              UTC 2018 mips64</div>
            <div>Welcome to EdgeOS</div>
            <div>Last login: Fri Jul 20 09:09:49 2018 from
              MY.IP.GOES.HERE</div>
            <div>ubnt</div>
            <div>ubnt@MYDEVICE:~$ ubnt</div>
            <div>-vbash: ubnt: command not found</div>
            <div>ubnt@MYDEVICE:~$</div>
          </div>
          <div><br>
          </div>
          <div>Where is that extra "ubnt" coming from?</div>
        </div>
      </div>
    </blockquote>
    <br>
    I expect the "Last login:" message is confusing ulogin and that's
    why it sends the username again.<br>
    <br>
    alexd<br>
  </body>
</html>