Login script

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: David A. Sinck
Date:  
Sujet: Login script

\_ 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