shutdown over network (unix)

hai,

i dont like the guy working next to me and i know his root (not sudo) password, is it possible to shutdown his PC over the shell?

tia
Comments
33
if you have his root pass, sure.

su -
rootpass
shutdown -H now
well i want to do it over the network, so i can reboot his pc from my shell, i know his ip and stuff
Parent
open a secure shell to the PC you want to close down, and then type the shutdown command ;)
Parent
ssh user@address


YOUR PLAN IS SO NOT NICE TBH
Parent
how would i close his mozzila for example?
Parent
get process id and kill it : )
Parent
i cant do top but ps works, unfortunatly it does not show mozilla :<
Parent
then he doesn't have it opened i guess : )
Parent
he does iam sitting next to him : (
Parent
ps -e , else it just shows processes of the current shell.
Parent
what was the command to just create a file
Parent
touch filename
Parent
if you have his root pass, sure.

stfu -
rootpiss
shitdown -H now
lol :D

i want a prog which uses some super duper undedected exploit in all os versions and lets me do what ever i want to pc´s in my network.. lalalala

and i want a schnitzelsemmel.. lalalalal

and i´m bored...lalalalal
on win98 that was hella fun too, used to shut down an entire class full of pc's with my DOS command :)
I used to have more fun with the net send cmd in class. Used to use Matrix quotes to fuck with their mind because I was pretty sad..
Parent
that aint sad, that's just uber fun imo :)
Parent
That's just awesome :D
Parent
can you do that in Windows XP also? and when yes, how to?
Parent
"shutdown -i" lets u make a lot of nice stuff at class now too
we use to shut down others pc
and the nice thing is u can shut down every pc in the whole building x)
Parent
with winXP? :D
Parent
with win XP and a pretty bad network admin, yes on linux you couldnt do it without knowing all the passwords
Parent
yap x)

shutdown -i and the click on browse and the pcs should be listed there
Parent
sounds like fun :D
Parent
just unplug his comp from the wall :)
ssh root@[ip aadress]
pkill -u user
won't shut down but will log him off instantly!
worked like a charm, anything else like disabling his mouse or smth
Parent
dood, don't expect me to know anything about linux : DDDDDDDDDDDDDDDDDD
and i'd have to kill if i told u that!
Parent
Back to top