Re: NetReg: admin.cgi-- no delete!

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Jennifer Mehl (mehl@wi.mit.edu)
Date: Fri Jan 31 2003 - 11:45:27 CST


Awesome. Thanks as always to Mike and the group for your quick and
helpful responses.

Jennifer

On Thursday, January 30, 2003, at 05:10 PM, King, Michael wrote:

> Jennifer.
>
> Make a copy of the admin.cgi file, call it something else, and give the
> helpdesk permission to view it.
>
> Then, in that new copy of the admin.cgi file, find the following
> lines, and
> remove them.
>
> print "<A HREF=\"$ADMINPATH/admin.cgi\?action=FL\&";
> print "USER=$USER\&MAC=$MAC\"";
> print " onClick=\"ConfirmDelete(\'$ADMINPATH/admin.cgi";
> print
> "\?action=FL\&USER=$USER\&MAC=$MAC\',\'$MAC\',\'$USER\')\; ";
> print "return false\;\">";
> print "<IMG SRC=$GFX/netreg-del.gif border=0></A></TD></TR>\n";
>
> -----Original Message-----
> From: Jennifer Mehl [mailto:mehl@wi.mit.edu]
> Sent: Thursday, January 30, 2003 4:08 PM
> To: netreg@southwestern.edu
> Subject: NetReg: admin.cgi-- no delete!
>
>
> Hi All,
>
> I would like to deploy a "pared down" copy of admin.cgi for our Help
> Desk staff to access. I don't want them to be able to remove user
> entries from DHCP but I do want them to be able to see who's
> registered, subnet overview etc..
>
> Does anyone know which lines I need to remove from the admin.cgi copy
> to remove the "Delete User" button and its functionality?
>
> thanks,
> Jennifer
> ---
> Jennifer Mehl
> Network Engineer, IT - Network Services
> Whitehead Institute for Biomedical Research (MIT)
> 5 Cambridge Center
> Cambridge MA 02142
>
> 617.258.8930 voice
> 617.258.5121 fax
>
> mehl@wi.mit.edu
>
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg Send requests for assistance to:
> owner-netreg@southwestern.edu
> **********************************************************************
> **********************************************************************
> To unsubscribe from this list, send an e-mail message to
> majordomo@southwestern.edu containing a single line with the words:
> unsubscribe netreg
> Send requests for assistance to: owner-netreg@southwestern.edu
> **********************************************************************
>

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:38 CDT