permission through sudo

subodh79

Registered
hi guys,
i m a system programmer on mac.I have written a program to find out the start block of a file. To achieve that I have to change the permisssion of /dev/rdisk0s3 via sudo commnad ,but the problem is that when root is disable , it asks for authenticate admin in runlog if we do it works fine but if don't then not. So will u plz tell me how can i use sudo through admin without authentication.
Bye and Thanks in advance
 
Have you tried using "sudo -s" and then supplying your password to become root?

You can also go into NetInfo Manager and enable the root account, but I wouldn't recommend enabling the root account in OS X.
 
thanks to reply,
but i have to use sudo without authentication because if i don,t do so what happen ? in building period it asks for password in log and when i use that application somewhere else through admin where root is not enabled , my application crashed. So plz suggest me some way to overcome this problem .
Thanks, bye
 
Back
Top