Login script

David A. Sinck plug-discuss@lists.PLUG.phoenix.az.us
Fri, 10 Aug 2001 13:35:20 -0700


\_ SMTP quoth Dominic Busher on 8/9/2001 06:29 as having spake thusly:
\_
\_ I have users who telnet into my Linux server to run
\_ minicom. Once they log in I would like to
\_ automatically change thier directory and bring up
\_ minicom.  Thanks.

stuff the following loosely in their .bash... um, whichever bash thing
it is that gets read at the bottom

if [[ has tty ]]  # eg: really logging in
  print "press ^C now to abort minicom launch"
  sleep 6
  minicom
fi

YMMV.

David