[Wolves] shutdown -k
Simon Burke
its_simon_burke at hotmail.com
Wed Jan 21 01:45:09 GMT 2004
gonna try
'echo kill -TERM -l | su -m user' see if that works, as i've tried
everything else including changing the runlevel, oh well, Ahh freebsd can
run in single user mode is there a way to force it?? i'll have to have a
look
>>
>>>echo "Oi you! Log off!" | wall
>>>
>>
>>I'd do something more evil like :
>>
>>init 1
>>
>>or
>>
>>touch /etc/nologin
>>
>>or
>>
>>ps aux | grep -v [r]oot | grep [p]ts | awk '{print $2}' | kill -9
>>
>>
>>I think the last one would work, but it might also kill other things.
>>Perhaps looking for bash processes would be superior.
>>
>>*yawn* *stretch* *sleepy*
>>
>>
>>David.
>>
>I'll have to give a go, but there would be no bash instances running on os
>x, unfortunatly, but i'll try the others.. thanx hehe.
>
>_________________________________________________________________
>It's fast, it's easy and it's free. Get MSN Messenger today!
>http://www.msn.co.uk/messenger
>
>
>_______________________________________________
>Wolves LUG mailing list
>Homepage: http://www.wolveslug.org.uk/
>Mailing list: Wolves at mailman.lug.org.uk
>Mailing list home: http://mailman.lug.org.uk/mailman/listinfo/wolves
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger
More information about the Wolves
mailing list