HFX Forum

Neophyte Section => Tips & Tutorials => Topic started by: Metgod on February 04, 2003, 11:56:27 PM

Title: .hushlogin
Post by: Metgod on February 04, 2003, 11:56:27 PM
okay, last one for tonight I think..

it is very useful to have a MOTD file and all.. but sometimes it's a bit annoying.

Easy solution:

create a file called .hushlogin in your home directory. That simple.

'touch .hushlogin' for instance. :)

Title: Re:.hushlogin
Post by: wilnix on April 29, 2003, 06:42:17 PM
in Solaris, the answer to almost every problem is:

make a file...

:P damn sun people...

Wilnix
Title: Re:.hushlogin
Post by: Metgod on April 30, 2003, 12:50:37 PM
hehe, indeed.. so true Will, so true

Title: Re:.hushlogin
Post by: wilnix on July 06, 2003, 03:40:04 PM
execute logout command in the login script of choice....that's always fun...works on any system including windows registry under the run key...

wilnix
Title: Re:.hushlogin
Post by: Metgod on July 07, 2003, 04:28:31 PM
haha yeah
reminds me of a time I told someone to tell someone to type something along the lines of (may be wrong what I came up wtih, but you get the idea..).

echo "`PS1= kill -9 1` >> .profile"

thus killing the account.. was pretty funny.
Title: Re:.hushlogin
Post by: wilnix on July 08, 2003, 12:53:04 PM
Once they find that, I like to add a cron job to kill the user every five minutes if they show any shells open  ;D

wilnix
Title: Re:.hushlogin
Post by: Metgod on July 08, 2003, 06:32:57 PM
hahaha..

the joy of messing with users.. anyone else have any nasty but funny tricks to pull on others ? Reminds me of the very old DoS attack paper that explained many attacks including the fork bomb, haha. Anyone remember that paper ?

Anyway, I'm sure we could come up with more..

Met.
Title: Re:.hushlogin
Post by: wilnix on July 08, 2003, 07:11:54 PM
There's a pile of things to do...recently, I changed many of the basic unix commands on a freebsd box to <cmd>_old and setup a script to exec reboot for each cmmd (ps, ls, pwd, etc)..

good times..

wilnix