KDM - Howto reboot a remote XTerminal?

Marvin GodfatherofSoul Bellamy mbellamy at kc.rr.com
Wed Sep 11 21:16:30 BST 2002


KDM has a way via the login manager (in the control center) to set what 
permissions users have to things like shutdowns.  This stops the 
reboot/shutdown options from displaying at the login.  Control center 
also has a way to prevent logout shutdowns (can't remember where).

Alexander Puchmayr wrote:

>Hi folks!
>
>I've got a pool of X-Terminals, which are boind via query-XDCMP to a rather 
>big server. 
>The intuitive way to reboot such a xterminal would be to configure KDM to 
>show a reboot/shutdown option. 
>
>kdmrc has the fields:
>
>[Shutdown]
>HaltCmd=/sbin/halt
>LiloCmd=/sbin/lilo
>LiloMap=/boot/map
>RebootCmd=/sbin/reboot
>
>When leaving this untouched, the user reboots the server, which is 
>definitely not what he (and me as the admin) wants.
>
>Question:
>Is there some variable or place holder for the IP of the terminal that kdm 
>handles?
>I though of something like
>
>[Shutdown]
>HaltCmd=/usr/local/sbin/halt_terminal.sh $REMOTEIP
>RebootCmd=/usr/local/sbin/reboot_terminal.sh $REMOTEIP
>
>with both scripts sending the actual reboot/halt command via 
>rsa-authenticated ssh-commands to the actual terminal.
>
>Thanks in advance
>	Alex Puchmayr
>
>  
>


___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list