Re: using a set uid root appkit program to gain root
Macs R We <[email protected]>
| Newsgroups | gmane.comp.macosx.general |
|---|---|
| Message-ID | <[email protected]> |
You can change your password in Recovery Mode <https://support.apple.com/en-us/HT201314> or as root in single-user mode if you are a gearhead. You'll lose every other saved password in your keychain but at least you'll be able to log in. > On Jan 22, 2018, at 3:37 PM, Michael <[email protected]> wrote: > > On 2018-01-22, at 2:28 PM, Karl Kuehn <[email protected]> wrote: > >> `setuid` has really been restricted, and I don't think you could do this though AppleScript at this point (requires app signatures). > > I am running on 10.9.5. So some security holes might sill be around. > >> However, if what you are actually trying to accomplish is doable via a command line, you could set it up in the `/etc/sudoers` file that whomever needs to run this could run that specific command (and nothing else) with `sudo COMMAND` without needing a passoword. > > The issue is that I have managed to lose my password. I can probably (I hope) use a recovery boot to clear he password, and in worst-case, I can do a full re-install and time machine backup. I want to avoid that if possible. > > If nothing else, being able to set my password to something known is sufficient. > > > _______________________________________________ > MacOSX-talk mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-talk _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk