Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sneaky network fun

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sun Sep 23, 2012 12:49 pm    Post subject: Sneaky network fun Reply with quote

Can I send a command via CLI from one computer to another if I have the admin password? If so, how?

What I intend to do with it...

When the kids are being slow to move because they're watching Doctor Who on their laptops, no matter how often I shout them they don't move. The second they encounter a problem, however, they're right next to me to solve it. I can sneakily shut their machines down remotely and have them come to me... Twisted Evil
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
MartyBartfast
LXF regular


Joined: Mon Aug 22, 2005 8:25 am
Posts: 814
Location: Hants, UK

PostPosted: Sun Sep 23, 2012 1:12 pm    Post subject: Reply with quote

configure & start sshd on the remote box and not only can you execute remote cli commands on it but you can log into it too.

It's considered a bad idea (security wise) to allow root ssh access so this is usually disabled but you can log into your personal account and then su or sudo.

Have a look for a howto for installing/configuring ssh.
_________________
I have been touched by his noodly appendage.
Back to top
View user's profile Send private message
Dutch_Master
LXF regular


Joined: Tue Mar 27, 2007 2:49 am
Posts: 2431

PostPosted: Sun Sep 23, 2012 1:41 pm    Post subject: Reply with quote

Even better: use secure keys to set up a trusted connection and you can skip logging in altogether Wink

However, shutting down the machine will have them realise that you control their laptops quite quickly, so I'd suggest to shut down whatever application they're using instead. At least initially, if that doesn't work, a shutdown would be in order... Smile
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8456
Location: Warrington, UK

PostPosted: Sun Sep 23, 2012 5:00 pm    Post subject: Reply with quote

What kind of father deprives his kids of the chance to watch Doctor Who? Shocked
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
heiowge
LXF regular


Joined: Wed Feb 27, 2008 8:21 pm
Posts: 1901
Location: Cheshire, UK

PostPosted: Sun Sep 23, 2012 8:07 pm    Post subject: Reply with quote

The kind who catches them watching it before school. Or before tea. Or bath, or...
_________________
i5 4440 3.1Ghz, Asus H87M-E motherboard, 8GB DDR3, 2GB DDR5 nVidia card, 2x500GB Seagate hd, Coolermaster 750W PSU running Mint 16 MATE and Win7

eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd, Mint 14 MATE. Fan needs fixing.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8456
Location: Warrington, UK

PostPosted: Sun Sep 23, 2012 8:21 pm    Post subject: Reply with quote

Using SSH and xdialog (or zenity or kdialog) you could pop up a window saying "You should be on your way to school now". You could even run this from a cron job to nag them automatically Smile
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast