List Info

Thread: disconnect network sessions remotely




disconnect network sessions remotely
user name
2006-04-25 13:56:27
You would still need admin rights to accomplish that.

Lars, permissions are permissions and you're not going to
get around that without finding a hacker to help you exploit
a bug/hole if there happens to be one.

What you're better off doing is creating a CGI that
authenticates with that server using the credentials of some
functional account that you create that has admin rights.

Bill in Brooklyn

-----Original Message-----
From: perl-win32-admin-bounceslistserv.ActiveState.com
[mailto:perl-win32-admin-bounceslistserv.ActiveState.com]
On Behalf Of Mattis, Oliver
Sent: Tuesday, April 25, 2006 8:50 AM
To: extern.Lars.OescheyAUDI.DE; perl-win32-adminlistserv.ActiveState.com
Subject: AW: disconnect network sessions remotely

Hello Lars,

This could help you:

net session \\Computername /delete

Well. It isn´t perl but it work on our Cluster. 


Mit freundlichen Grüßen / Kind Regards
Oliver Mattis
Siemens Business Services GmbH & oHG
SBS ORS GOP CBO G B6
Tel: +49 89 636 46089
mailto:oliver.mattissiemens.com

-----Ursprüngliche Nachricht-----
Von: perl-win32-admin-bounceslistserv.ActiveState.com
[mailto:perl-win32-admin-bounceslistserv.ActiveState.com]
Im Auftrag von extern.Lars.OescheyAUDI.DE
Gesendet: Dienstag, 25. April 2006 13:49
An: perl-win32-adminlistserv.ActiveState.com
Betreff: disconnect network sessions remotely

Hi,

I have a share on a W2K3 Cluster, and I need someone to be
able to disconnect network sessions to that share so that
they are able to change files that are still acessed. I
tried the MMC console, but it needs the user to have
administrator rights, which I don't want them to have.
Is there any way to handle that with perl, preferrably even
via a cgi-bin or such?

regards, Lars

_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Adminlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )