[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Mar 23 14:29:49 2004 -->
- <!--x-from-r13: wxvaarl ng ybpnyargfbyhgvbaf.pbz (Xnzrf B. Yvaarl WWW) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1080069276.17105.53.camel@ibb-250 --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Script at Login Question -->
- <li><em>date</em>: Tue Mar 23 14:29:49 2004</li>
- <li><em>from</em>: jkinney at localnetsolutions.com (James P. Kinney III)</li>
- <li><em>in-reply-to</em>: <1080069276.17105.53.camel@ibb-250></li>
- <li><em>references</em>: <<a href="msg00825.html">[email protected]</a>> <1080069276.17105.53.camel@ibb-250></li>
- <li><em>subject</em>: [ale] Script at Login Question</li>
Nope. Set the write to be an append.
eg:
echo $foo >> $log
will add $foo to the end of $log
>
> Jonathan
>
> On Tue, 2004-03-23 at 14:04, Yu, Jerry wrote:
> > hate to clarify myself after 1 second. By 'script call' I meant the 'script'
> > command which logs a shell session.
> >
> > -----Original Message-----
> > From: Yu, Jerry [<a rel="nofollow" href="mailto:Jerry.Yu">mailto:Jerry.Yu</a> at voicecom.com]
> > Sent: Tuesday, March 23, 2004 2:02 PM
> > To: 'Atlanta Linux Enthusiasts'
> > Subject: RE: [ale] Script at Login Question
> >
> >
> > would a script call from .bash_profile or .bashrc work? Of course, make sure
> > they can't be modified by the user and no other shells is available and no
> > way to invoke a shell without sourcing your .bash_profile/.bashrc.
> >
> > -----Original Message-----
> > From: Jonathan Glass [<a rel="nofollow" href="mailto:jonathan.glass">mailto:jonathan.glass</a> at ibb.gatech.edu]
> > Sent: Tuesday, March 23, 2004 1:59 PM
> > To: ale at ale.org
> > Subject: [ale] Script at Login Question
> >
> >
> > I'm just thinking out loud again. Anyone configured script to run
> > whenever someone logs in? I'm thinking it would be very beneficial to
> > log user sessions on a few choice machines. Is there a better way to do
> > this? Again, just thinking out loud. I haven't hit Google yet, so
> > pardon my ignorance.
> >
> > Thanks!
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
<a rel="nofollow" href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a>
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00825" href="msg00825.html">[ale] Script at Login Question</a></strong>
<ul><li><em>From:</em> Jerry.Yu at Voicecom.com (Yu, Jerry)</li></ul></li>
<li><strong><a name="00826" href="msg00826.html">[ale] Script at Login Question</a></strong>
<ul><li><em>From:</em> jonathan.glass at ibb.gatech.edu (Jonathan Glass)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00826.html">[ale] Script at Login Question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00828.html">[ale] Teletubbie background?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00826.html">[ale] Script at Login Question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00830.html">[ale] Can you point me in a good direction</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00827"><strong>Date</strong></a></li>
<li><a href="threads.html#00827"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>