Mailinglist Archive: opensuse-security (320 mails)

< Previous Next >
Re: [suse-security] Windows commands for linux internet
  • From: Lars Ellenberg <l.g.e@xxxxxx>
  • Date: Mon, 12 May 2003 17:32:23 +0200
  • Message-id: <CQ8CykFbrSx8bx5FWdKM/aU=lge@xxxxxx>
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

< Previous Next >
References