[ale] Scriptable motd for initial SSH login?
Geoffrey Myers
lists at serioustechnology.com
Thu Sep 15 08:07:22 EDT 2011
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
More information about the Ale
mailing list