Activating the root user with a python script. (OSX) -



Activating the root user with a python script. (OSX) -

okay, i've been working on pythonbased 'hacktool' helps penetration testers install basic tools on mac. of these tools require root user activated, need easy way activate root user (on mac can done 'passwd root' sadly requires input typed)

need help here guys, running low on time , net won't give me helpful answers. :s

there command in osx called 'dsenableroot' did wanted do. command works this:

dsenableroot -u yourusername -p yourpassword -r rootpassword

it supposed do, need workaround on 'yourpassword' part, since don't know password of users computer. post updates here!

python osx user root

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -