[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Scriptable motd for initial SSH login?
- Subject: [ale] Scriptable motd for initial SSH login?
- From: lists at serioustechnology.com (Geoffrey Myers)
- Date: Thu, 15 Sep 2011 08:07:22 -0400
- In-reply-to: <[email protected]>
- References: <CAAt=rgCH8iywEL2+52NLhDj4gvraZQbGmHJPJv-Zhu82r5RLaw@mail.gmail.com> <[email protected]> <1316026962.574.28.camel@compaq-desktop> <CAAt=rgAcagy+yLoFpFvw6Q-xLQ5B=3Zmc4uCqy8S9iDv+rbo+Q@mail.gmail.com> <CALRLYEmeDHK+2KQN8_nn1yKNCNDPkcOBDA6tr=sVcjCJR44MFA@mail.gmail.com> <[email protected]>
Geoffrey Myers wrote:
> Wolf Halton wrote:
>> #!/bin/bash
>> echo -n "Welcome to the Computer $USER"
>>
>> Unless there is absolutely going to only ever be one user you want to so
>> treat, I would write a script for it.
>
> If you just want it to display for that particular user, you can code
> that as well.
>
> if [ $USER = "user"] ...
Crap..
if [ $user == "USER" ] ...
--
Until later, Geoffrey
"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson