|
|
What does your MOTD file say?
|
|
|
|
Mac Elite
Join Date: Aug 2001
Location: Australia
Status:
Offline
|
|
I changed the "Welcome to darwin"
Who else here has changed there MOTD file? And to what?
[ 05-17-2002: Message edited by: IUJHJSDHE ]
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2001
Location: Houston, TX
Status:
Offline
|
|
Mine says
Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002;
because I'm used to that sort of thing on my Sun boxen at school. I just run a little script every time I update that pulls the info from uname -a and puts it in the motd file. It used to say "Welcome to shiva, beware the spaces..." I liked that
--J
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
I have a cron job that daily selects the MOTD from a file with literally 1000s of signature lines.
OK - so I was bored one day !
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status:
Offline
|
|
Pretty simple
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by IUJHJSDHE:
<STRONG>Who else here has changed there MOTD file? And to what?</STRONG>
My /etc/motd says:
Welcome to my MacOSX box. This box runs MacOSX 10.1.4. Behave or I'll have to kill you.
[<font color = green>localhost:</font><font color = blue>~</font>] <font color = red>theman</font>%
Something to that effect I want to spice mine up a bit more, but I'm not very creative... I saw some stuff in a forum recently about using some program called Flash, if I remember correctly, that lets you create menus... I'd be interested in learning how to do that, along with color coding...
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Aug 2001
Location: Australia
Status:
Offline
|
|
Originally posted by BigMac2:
<STRONG>Pretty simple
</STRONG>
SIMPLE!!!
THATS THE BEST ONE I HAVE SEEN SO FAR!!!!!!!!! !!!!!!!!!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Status:
Offline
|
|
Mine says this:
<font face = "courier">**************************************** ***************************************
Silver Pismo PowerBook G3 400Mhz/640MB/30GB Mac OS X 10.1.4
Welcome to Darwin!</font>
I was wondering if anyone could tell me how I can have it tell me when my last logon was. The school's Solaris, Linux and IRIX servers all show this line before displaying the motd file:
<font face = "courier">
Last login: Mon Apr 08 2002 03:39:18 -0400
</font>
Where does that come from? It would be nice to have that.
Also I'd love to see that cron job thing. I know nothing about cron, but the ability to have random phrases at login would make things a lot more fun.
[ 04-26-2002: Message edited by: waffffffle ]
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status:
Offline
|
|
Originally posted by waffffffle:
<STRONG>Mine says this:
<font face = "courier">
Last login: Mon Apr 08 2002 03:39:18 -0400
</font>
Where does that come from? It would be nice to have that.
</STRONG>
OSX should have a lastlog file, but it's not created at the installation of OSX (Apple has miss this one), so you need to create with
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
touch /var/log/lastlog
</font>[/code]
And now you should get your last login
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2002
Status:
Offline
|
|
Think simple
|
Think different, Think easy, Think Apple.
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 1999
Location: Somewhere near 1º18'N 103º50'E
Status:
Offline
|
|
from my PB G4 667
[ 05-14-2002: Message edited by: oeyvind ]
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2002
Status:
Offline
|
|
TOO MUCH SIMPLE, adds color, twinkling there words and a good LOGO, it is Mac, puts a little more imagination
|
Think different, Think easy, Think Apple.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Status:
Offline
|
|
Originally posted by BigMac2:
<STRONG>
OSX should have a lastlog file, but it's not created at the installation of OSX (Apple has miss this one), so you need to create with
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
touch /var/log/lastlog
</font></pre><HR></BLOCKQUOTE>
And now you should get your last login</STRONG>
Thanks! That works perfectly. Although is there a way to change the format in which the date is displayed?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status:
Offline
|
|
Originally posted by waffffffle:
<STRONG>
Thanks! That works perfectly. Although is there a way to change the format in which the date is displayed?</STRONG>
I don't know, it appear to be hardcoded in the login command.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Jul 2001
Status:
Offline
|
|
ok, stupid question, probably, but how do u do that nifty transparency effect in the terminal???
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Evansville, IN
Status:
Offline
|
|
Welcome to Macintosh!* (*appropriated from NeXT by Steve Jobs, and rebranded
so as to exploit the Macintosh name and userbase)
[Credit to Cipher13 for that one]
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2001
Location: Sad King Billy's Monument on Hyperion
Status:
Offline
|
|
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
Welcome to Zach's PowerBook! If you mess anything up he WILL know about it.
[powerbook:~] scrod%
</font>[/code]
|
I abused my signature until she cried.
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Aug 2001
Location: Vienna, Austria
Status:
Offline
|
|
Mine is:
<font face = "courier">This computer system is for authorized users only.
Individuals using this system without authority or
in excess of their authority are subject to having
all their activities on this system monitored and
recorded or examined by any authorized person,
including law enforcement, as system personnel deem
appropriate.
In the course of monitoring individuals
improperly using the system or in the course of
system maintenance, the activities of authorized
users may also be monitored and recorded. Any
material so recorded may be disclosed as appropriate.
Anyone using this system consents to these terms.</font>
(Yes, I'm the only user on the system )
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: Bristol, UK, living in Melbourne, Australia
Status:
Offline
|
|
how do you make those cool motds with graphics? and color...
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Oct 2001
Location: Tbilisi, Georgia
Status:
Offline
|
|
Originally posted by ThunderP:
<STRONG>ok, stupid question, probably, but how do u do that nifty transparency effect in the terminal???</STRONG>
The easiest way is to download a little program called tinkertool from versiontracker or wherever. It allows you to change some preferences that apple has left hidden. You can also just type in some cryptic command, but I don't remember that...
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status:
Offline
|
|
Originally posted by Grozni Majmun:
<STRONG>You can also just type in some cryptic command, but I don't remember that...</STRONG>
simple
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> defaults write com.apple.Terminal TerminalOpaqueness <value> </font>[/code]
The value it's something between 0 and 1.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2001
Location: Canada
Status:
Offline
|
|
I am working on mine... I would like to put the output of both date and uname commands on a single line... Anyone knows how to do this?
Colddiver
|
Faith, indeed, has up to the present not been able to move real mountains.... But it can put mountains where there are none.
- Friedrich Nietzche
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2001
Location: NY, NY, USA
Status:
Offline
|
|
'I am the big cat who is in the seat of truth, in whom the light shines.'
From the Egyptian Book of the Dead, hehe... Boosts morale before I start getting compile errors.
|
- Sahara
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status:
Offline
|
|
Originally posted by Colddiver2:
<STRONG>I am working on mine... I would like to put the output of both date and uname commands on a single line... Anyone knows how to do this?
Colddiver</STRONG>
something like
date "+`uname -sr` date is %m/%d/%y %H:%M:%S"
?
|
Contra a barbárie, o estudo; Contra o individualismo, a solidariedade!
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
How do you execute commands in your motd? I try but it just prints the commands rather than their output. hehehe.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: Bristol, UK, living in Melbourne, Australia
Status:
Offline
|
|
Originally posted by [APi]TheMan:
<STRONG>How do you execute commands in your motd? I try but it just prints the commands rather than their output. hehehe.</STRONG>
i'm not sure but you could try putting the command in `back ticks`
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2001
Location: Canada
Status:
Offline
|
|
Well... Actually, it isn't the MOTD file I was editing but rather my .cshrc (this explains why I didn't had any troubles executing commands)...
Thanks for the command trick!
Colddiver
|
Faith, indeed, has up to the present not been able to move real mountains.... But it can put mountains where there are none.
- Friedrich Nietzche
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by Colddiver2:
<STRONG>Well... Actually, it isn't the MOTD file I was editing but rather my .cshrc (this explains why I didn't had any troubles executing commands)...
Thanks for the command trick!
Colddiver</STRONG>
I'm having trouble writing the date, I'm using echo `%m/%d%y` and it doesn't work. I need more info on how to execute commands to display at logon.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Originally posted by [APi]TheMan:
<STRONG>
I'm having trouble writing the date, I'm using echo `%m/%d%y` and it doesn't work. I need more info on how to execute commands to display at logon.</STRONG>
Maybe try [b]`date '+%m/%d %y'`[b] ?
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Guess not; just tried....
Damn.
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status:
Offline
|
|
Originally posted by [APi]TheMan:
<STRONG>
I'm having trouble writing the date, I'm using echo `%m/%d%y` and it doesn't work. I need more info on how to execute commands to display at logon.</STRONG>
echo does not know the date... what are you trying to accomplish?
|
Contra a barbárie, o estudo; Contra o individualismo, a solidariedade!
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by kvm_mkdb:
<STRONG>
echo does not know the date... what are you trying to accomplish?</STRONG>
I'm not particularily looking to put the date in my motd, I'm just trying to find out how to execute a command.... When I write echo, the shell outputs "echo"... It's not executing a program.
I'm looking for a general knowledge of how to execute commands to be displayed at logon, not necesarily the date.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
You could try putting it in your .tcshrc ...
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by Wevah:
<STRONG>You could try putting it in your .tcshrc ...</STRONG>
Don't .cshrc and .tcshrc do the same thing?
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2001
Location: nola, usa
Status:
Offline
|
|
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>caution: not for use with mono devices</font>[/code]
a bucket of wet chicken feathers to anyone who catches the reference.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status:
Offline
|
|
Originally posted by furtheraway:
<STRONG><BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>caution: not for use with mono devices</font></pre><HR></BLOCKQUOTE>
a bucket of wet chicken feathers to anyone who catches the reference.</STRONG>
didn't some old vinyl albums say that when stereo first came out in the early sixties?
Anyway, I got curious, so I changed my motd to:
Doctor, I'm afraid it's Terminal!
Had to do it in root, as I can't figure out how to get pico to overwrite otherwise. chown is still greek to this proto-geek.
CV
|
When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2001
Location: nola, usa
Status:
Offline
|
|
that's it, chris. it also appears in the liner notes of a happy little record called 'broken' from '92. a fun time for everyone.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2008
Status:
Offline
|
|
MOTD file can be downloaded here: MOTD
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|