User Entered Root Password (kmodload)
User Entered Root Password (kmodload)
- Subject: User Entered Root Password (kmodload)
- From: devdrvr <email@hidden>
- Date: Sat, 15 Jun 2002 20:10:14 -0700
With the below line I'm calling kmodload in my app when a button is hit
to install a kernel extension for some wireless encryption code I've
written. The stringValue will be the name of the extension to load that
comes from an edit field. What is the right way to prompt around the
code for the root password; so the command can have the privileges to
execute?
searchTask=[[TaskWrapper alloc] initWithController:self
arguments:[NSArray arrayWithObjects:@"/usr/sbin/kmodload"
,[findTextField stringValue],nil]];
Thanks,
--Perry
========
mailto:email@hidden
http://www.devdrvr.net/PerryCard.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.