On Mon, May 12, 2003 at 04:54:57PM +0200, Manfred Pausch wrote:
quick-n-dirty solution: plink.exe (ssh-client for windows command line) http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe
c:\plink.exe root@LinuxBox -p <root-pw> <dialin-command>
the problem is that the root-password is stored in the link on the 9x-desktop :(
for disconnect from internet use <disconnect-command> instead of <dialin-command>
if you use smpppd, dialin-command is "/usr/sbin/cinternet --start", hup-command "/usr/sbin/cinternet --stop". no need for special privileges. (maybe needs to be member in dialout). could restrict this further with forced command in "~/authorized keys" ... or two [possibly zero passwd] users named "dialout" and "hangup" with a minimal wrapper login "shell" that just executes the required command. or ... reimplementing the wheel ... timtowtdi :) Lars