| View previous topic :: View next topic |
| Author |
Message |
heiowge LXF regular

Joined: Wed Feb 27, 2008 8:21 pm Posts: 1794 Location: Cheshire, UK
|
Posted: Sun Sep 23, 2012 12:49 pm Post subject: Sneaky network fun |
|
|
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...  _________________ AMD PHENOM II X6, 14 GB DDR3, 500 GB hd, 1GB nVidia card, running Linux Mint 14 KDE / Win 7. Damn thing keeps breaking.
eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd running Mint 14 MATE. Running great. |
|
| Back to top |
|
 |
MartyBartfast LXF regular

Joined: Mon Aug 22, 2005 8:25 am Posts: 780 Location: Hants, UK
|
Posted: Sun Sep 23, 2012 1:12 pm Post subject: |
|
|
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 |
|
 |
Dutch_Master LXF regular
Joined: Tue Mar 27, 2007 2:49 am Posts: 2353
|
Posted: Sun Sep 23, 2012 1:41 pm Post subject: |
|
|
Even better: use secure keys to set up a trusted connection and you can skip logging in altogether
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...  |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Sun Sep 23, 2012 5:00 pm Post subject: |
|
|
What kind of father deprives his kids of the chance to watch Doctor Who?  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
heiowge LXF regular

Joined: Wed Feb 27, 2008 8:21 pm Posts: 1794 Location: Cheshire, UK
|
Posted: Sun Sep 23, 2012 8:07 pm Post subject: |
|
|
The kind who catches them watching it before school. Or before tea. Or bath, or... _________________ AMD PHENOM II X6, 14 GB DDR3, 500 GB hd, 1GB nVidia card, running Linux Mint 14 KDE / Win 7. Damn thing keeps breaking.
eeepc 1015PX, 1.66 Ghz Intel atom processor, 2 GB DDR3, 320 GB hd running Mint 14 MATE. Running great. |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Sun Sep 23, 2012 8:21 pm Post subject: |
|
|
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  _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|