Sponsored Content
Full Discussion: plan
Top Forums UNIX for Dummies Questions & Answers plan Post 10957 by Perderabo on Monday 26th of November 2001 10:14:22 AM
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.
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
TAP::Parser::Result::Plan(3pm)				 Perl Programmers Reference Guide			    TAP::Parser::Result::Plan(3pm)

NAME
TAP::Parser::Result::Plan - Plan result token. VERSION
Version 3.26 DESCRIPTION
This is a subclass of TAP::Parser::Result. A token of this class will be returned if a plan line is encountered. 1..1 ok 1 - woo hooo! 1..1 is the plan. Gotta have a plan. OVERRIDDEN METHODS
Mainly listed here to shut up the pitiful screams of the pod coverage tests. They keep me awake at night. o "as_string" o "raw" Instance Methods "plan" if ( $result->is_plan ) { print $result->plan; } This is merely a synonym for "as_string". "tests_planned" my $planned = $result->tests_planned; Returns the number of tests planned. For example, a plan of 1..17 will cause this method to return '17'. "directive" my $directive = $plan->directive; If a SKIP directive is included with the plan, this method will return it. 1..0 # SKIP: why bother? "has_skip" if ( $result->has_skip ) { ... } Returns a boolean value indicating whether or not this test has a SKIP directive. "explanation" my $explanation = $plan->explanation; If a SKIP directive was included with the plan, this method will return the explanation, if any. "todo_list" my $todo = $result->todo_list; for ( @$todo ) { ... } perl v5.18.2 2014-01-06 TAP::Parser::Result::Plan(3pm)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy