Jump to content


Photo

Tracking down login process


  • Please log in to reply
3 replies to this topic

#1 charlieholder

charlieholder

    Advanced Member

  • Members
  • PipPipPip
  • 1,405 posts
  • LocationAtlanta, GA

Posted 08 February 2013 - 01:38 PM

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, 08 February 2013 - 01:39 PM.

Links: PHP Manual | MySQL Reserved Words

Please mark TOPIC SOLVED when you've reached a solution.
Adding [code][/code] tags around your code increases your chances of receiving help.

I don't always test the code I write.

#2 Christian F.

Christian F.

    Advanced Member

  • Staff Alumni
  • 3,106 posts
  • LocationNorway

Posted 08 February 2013 - 01:49 PM

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., 08 February 2013 - 01:49 PM.

Keeping it simple.

#3 kicken

kicken

    Wiser? Not exactly.

  • Gurus
  • 2,785 posts
  • LocationBonita, FL

Posted 08 February 2013 - 02:40 PM

Check /etc/motd.  That file is displayed after login.  If the drawing is not in there it is likely being generated by a program that is run during the profile setup.
Recycle your old CD's, don't trash them!
Did I help you out?  Feeling generous? I accept tips via Paypal or Bitcoin @ 14mDxaob8Jgdg52scDbvf3uaeR61tB2yC7

#4 charlieholder

charlieholder

    Advanced Member

  • Members
  • PipPipPip
  • 1,405 posts
  • LocationAtlanta, GA

Posted 09 February 2013 - 10:21 AM

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, 09 February 2013 - 10:21 AM.

Links: PHP Manual | MySQL Reserved Words

Please mark TOPIC SOLVED when you've reached a solution.
Adding [code][/code] tags around your code increases your chances of receiving help.

I don't always test the code I write.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com