• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
User Entered Root Password (kmodload)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: User Entered Root Password (kmodload)
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: NSConnection via NSSocketPort (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Drag 'n Drop 'n Delegation Dilemma
  • Next by Date: Re: Custom Open/Save Directory Tree
  • Previous by thread: Re: NSConnection via NSSocketPort
  • Next by thread: Re: User Entered Root Password (kmodload)
  • Index(es):
    • Date
    • Thread