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-bounces listserv.ActiveState.com
[mailto:perl-win32-admin-bounces listserv.ActiveState.com]
On Behalf Of Mattis, Oliver
Sent: Tuesday, April 25, 2006 8:50 AM
To: extern.Lars.Oeschey AUDI.DE; perl-win32-admin listserv.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.mattis siemens.com
-----Ursprüngliche Nachricht-----
Von: perl-win32-admin-bounces listserv.ActiveState.com
[mailto:perl-win32-admin-bounces listserv.ActiveState.com]
Im Auftrag von extern.Lars.Oeschey AUDI.DE
Gesendet: Dienstag, 25. April 2006 13:49
An: perl-win32-admin listserv.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-Admin listserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
|