plan


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers plan
# 1  
Old 11-26-2001
Question plan

i want to make a program run when a person types 'finger USERNAME', username being my username. how can i do this?
# 2  
Old 11-26-2001
Please don't try this. It can cause problems. The way it was done was to make .plan a named pipe and leave a program running that was writing to the pipe. The program would notice when a reader to the pipe existed and would start to run.

But if that program died, fingers would just block. If they were remote fingers resources would lock up until the system crashed. This was considered to be a denial of service attack. Most finger programs now will stat .plan and ignore it if it's not a plain file. So you probably can't do this anymore.

Here is a story that you probably won't believe...I know it's true and I can hardly believe it...

In my youth, I once decided to have a little fun with .plan. I set it to "Bus error(coredump)". I thought this was funny, but since I was the sysadm and people only fingered me to get my phone number, they just reported it to me as a bug. Smilie So I upped the ante to "Trolleycar error (core ejected) Deleting all files in current directory...exporting this behavior to all reachable networks!". I felt certain that folks could figure out that this message was bogus... Then I got a call from a guy who said his officemate had just got that message and was racing to the computer room to yank all of the cables out of the system. Smilie Smilie Smilie I stopped him before he did any damage. Then I deleted my .plan and haven't had one since.
# 3  
Old 11-29-2001
kill -l | grep TRLY

22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGTRLYCR


See??? They were right to be upset!!!

I have seen people rename core files to .plan though... horrible mess on some terminals. Can really snag up some low-bandwidth links too.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Cpio Restore didnt go to plan

Hello folks, one of the RAID drives in our SCO system crashed recently and being hot swap it was replaced. Problem was that on boot it stops at: Checking protected password and protected subsystem databases.... First I did #authck -a and checked /etc/auth/system/ttys as per instructions in a... (7 Replies)
Discussion started by: Redstar
7 Replies

2. UNIX for Dummies Questions & Answers

I need a database and a plan of attack!

Hi everyone, I've got an extensive collection of seismic files that I am trying to turn into workable subsurface data collection. It's all real-time history and it is being loaded onto the main linux computer from a collection of about 1000 CDs. There are about 4000 seismic files on each CD, and... (3 Replies)
Discussion started by: ws6transam
3 Replies

3. What is on Your Mind?

Plan to Buy a New Laptop

It is time for me to buy a new laptop computer and i was searching the net for the last few days looking for one. The results haven't really been satisfying and i thought you might have information i lack - if so, i'd be grateful for sharing it with me and the probably interested audience. What... (22 Replies)
Discussion started by: bakunin
22 Replies

4. AIX

Plan to shutdown servers

Hello everyone I need to shutdown all my servers and my storage. I would like to hear your opinions about this. This is my little plan about all this. 1.-Stop the applications 2.-Stop the webservers 3.-Stop the ihs 4.-Stop the databases 5.-Verify no process are running 6.-Close the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

5. Filesystems, Disks and Memory

an advice regarding backup plan

Hi all i'm looking for good advice regarding backup plan becuase its first time to me handle large scale database expected to grow up 10000 - 20000 record per year with daily operations on it I'm working as sysAdmin in educational organization ( junior level ) with mixed OSes environment... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

6. Linux

recommendations for a Linux hosting plan?

I'd like to purchase a hosting plan, i found a $3.99 on webhost4life.org, any1 using the package before? (2 Replies)
Discussion started by: BestLinux
2 Replies

7. What is on Your Mind?

401 Keg Plan

If you had purchased $1,000 of AIG stock one year ago, you would have about $40.00 left. With Lehman, you have about $6.00 left. With Fannie or Freddie, you would have less than $5.00 left. But, if you had purchased $1,000 worth of beer one year ago, and had drunk all of the beer, then turned... (4 Replies)
Discussion started by: Neo
4 Replies
Login or Register to Ask a Question