News for hackers. Stuff that matters.
Re:Special collection of freeware tools for system administr... by bruceboughton on Wednesday June 22, 2011 @08:24AM (#2682772)
>> pam_happy_hour.c PAM happy hour module. This creates a happy hour on Solaris during which passwords aren't required, any will do. Full example here.

Now we know what caused the Dropbox issue...

Re:Special collection of freeware tools for system administr... by skimbrel on Wednesday June 22, 2011 @08:30AM (#2682789)
> bottom This is the opposite of top, it displays processes that are using the least CPU.

This is exactly what I need! I've been planning an awards ceremony for the developers of the most efficient software running on my systems (measured in CPU cycles, obviously). This will make selecting candidates so much easier.

Re:Special collection of freeware tools for system administr... by mbubb on Wednesday June 22, 2011 @07:22AM (#2682625)
Anyone know where I can get #!/usr/dt/bin/dtksh? I NEED xmanagerstat.

Thanks!

Re:Special collection of freeware tools for system administr... by wladimir on Wednesday June 22, 2011 @08:12AM (#2682733)
It only exists on Solaris AFAIK, as part of the CDE window manager environment.
Re:Special collection of freeware tools for system administr... by mbubb on Wednesday June 22, 2011 @09:01AM (#2682899)
Hah - learned something. Thought it was part of the joke.
Re:Special collection of freeware tools for system administr... by lewispb on Wednesday June 22, 2011 @07:44AM (#2682665)
Rewind cd-roms?? Is this a joke!?
Re:Special collection of freeware tools for system administr... by wladimir on Wednesday June 22, 2011 @08:14AM (#2682744)
No it's not a joke. If you forget to rewind your CD-ROMs before storing them, the next person using it might start reading at the wrong position. This can result in incomplete or corrupted data.
Re:Special collection of freeware tools for system administr... by Wilya on Wednesday June 22, 2011 @07:57AM (#2682689)
Well, if you look at the source, it does exactly what it says. Seek to the beginning.
Re:Special collection of freeware tools for system administr... by dekz on Wednesday June 22, 2011 @07:51AM (#2682675)
>3ROT13

yes.

Re:Special collection of freeware tools for system administr... by mbubb on Wednesday June 22, 2011 @08:46AM (#2682847)
He forgot one that I use all the time: http://xkcd.com/221/
Re:Special collection of freeware tools for system administr... by TheNewAndy on Wednesday June 22, 2011 @09:56AM (#2683094)
He had something in the same spirit: (though this one outputs a decidedly non-random number)

http://www.brendangregg.com/Specials/notrandom.c

Re:Special collection of freeware tools for system administr... by delinka on Wednesday June 22, 2011 @12:24PM (#2683825)
The same spirit in the way that a closed door is similar to an open door. XKCD generated a random number to return, notrandom.c did not.

I fail to see similar spirits here.

Re:Special collection of freeware tools for system administr... by yalue on Wednesday June 22, 2011 @12:46PM (#2683926)
You can easily write your own:

  #!/usr/bin/perl
  #The following was generated by a fair dice roll,
  #guaranteed to be random
  exit 4
Re:Special collection of freeware tools for system administr... by peterwwillis on Wednesday June 22, 2011 @10:32AM (#2683280)
A few programs I would like to see:

  * an automatic 'why-is-the-system-down' excuse generator plugged into procmail
  * suid-root 'system cleaner' (kills all processes but the user's own bash shell)
  * an ld_library hook (fix_all_errors.c ?) to force exit() to always return true
  * a vi plugin for Emacs
  * a program that forces the admin to type the entire 100-bottles-of-beer song before
   - logging in as root
   - editing sudoers
   - implementing NIS or RSH
   - starting any process with a listening tcp/udp socket as root
Re:Special collection of freeware tools for system administr... by GaryOlson on Wednesday June 22, 2011 @08:15AM (#2682746)
makezombie.c is a fake. No processes called "zombie" are running on the system after I invoke this. Also, a real zombie program should randomly chew on other processes until the other process itself is a zombie. This needs more work.