Keep in mind – I’m definitely not an expert on this topic, and I tried to include as much of what I found out as possible. So in this article, I’m documenting my own findings to get this working with Lazarus Pascal – which took a lot of work and testing. Which is all good, just too bad that the now majority of the time I spend on developing an application involves adapting to these limitations, instead of doing the creative thinking towards what the application really is for.Īpple has created a poorly documented mechanism for this, referred to as “ SMJobBless” or “ Privileged Helper“, and focusses heavily on Objective C and Swift – neither of these I like, let alone working with XCode (yuk!) – I really prefer working in Pascal, and specifically in an awesome IDE provided by Lazarus Pascal. With all kinds of malware trying to “hack” us, companies like Apple and Microsoft keep making it increasingly more difficult to actually get admin (root) access straight from our application (not to mention the seemingly cumbersome signing of applications). elevated privileges, privileged helper tool, etc.īack in the day, we could do this pretty easy in our application, simply by using opening, reading and writing data from/to disks as “files”, with relatively simple code in our applications. To do this the right way I needed to know how to use SMJobBless, in order to get root access, a.k.a. As some of you know, I created ApplePi-Baker a while ago, and with a new version I wanted to get away from using command-line tools like “ dd” and “ diskutil“.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |