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
USERLIST(8)						      Finger-type Userlisting						       USERLIST(8)

NAME
userlist - Userlisting of who's on your system. SYNOPSIS
userlist DESCRIPTION
This program simply gives you a listing of who is connected to your system. It is used primarily in the sorted listing of cfingerd, which utilitizes the same method of display for a more uniform output between systems. (It also made more sense to do it this way instead of having jumbled up display listings in sorted finger displays. Besides, it made more sense to do this than use finger. :) This program functions with the same types of things in mind that cfingerd does. If the user has a .nofinger file, their username will not be displayed in the userlisting. Example output is shown as: Username Real Name Idletime TTY Remote console username I'm real ... 9d 23:59 0 (remote.site.com) where it would display the user's login name, the user's real name, their idle time given in the format "dd hh:mm", their TTY, and their remote location (or where they're telnetting from). If the username is over 8 characters, the program will not search for their information in the passwd file, since it may be too long. Besides, it checks getpwnam, anyway. :) OPTIONS
-c Give standard CFINGERD (custom) output. -n List only people idle less than one day. ADDITIONAL
Although userlist is not required to run as suid root, it is a good idea. The reason is it checks each users' directory for a .nofinger file. If indeed that user has a .nofinger file in his/her directory, that user will not be shown in the userlisting. If you change the program to run as nobody.nobody, you are free to do so. But you will also show the users if they are online, regardless of whether or not they have a ".nofinger" file (as long as their directory is NOT world-readable.) CONTACTING
If you like this program, have any suggestions on how it could be modified, or have bug reports, please write to: khollis@bitgate.com. Your continued Public Domain support is appreciated! Thanks. SEE ALSO
cfingerd.conf(5), cfingerd(8), finger(1). cfingerd 1.4.2 29 August 1999 USERLIST(8)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy