Jump to content

Recommended Posts

I'm not 100% on the vocabulary to articulate what I need, so please bear with me.

 

I inherited a server at work. I login through SSH and as soon as I get done typing in the password, it displays the last login date/time and a large ASCII drawing. I have tried looking in a number of places, but I cannot for the life of me figure out where this drawing is being pulled from. Reading around online leads me to looking at directories/files such as /etc/profile, /etc/profile.d, and ~/.bash_profile. I don't see anything related to this drawing.

 

Anyone up for helping me through finding where this comes from?

Edited by charlieholder
Link to comment
https://forums.phpfreaks.com/topic/274221-tracking-down-login-process/
Share on other sites

That's the fortune cookie. :)

If you run man fortune in the shell, you'll get the necessary information on how to use it. fortune -f lists the files used by fortune to show the cookies from.

Edited by Christian F.

If you run man fortune in the shell, you'll get the necessary information on how to use it.

 

[root@localhost ~]# man fortune
No manual entry for fortune

 

Check /etc/motd.

 

That's it! Thanks for the help!

Edited by charlieholder
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.