Enable Root User Suddenly Not Working

Kevin
Contributor II

Last week we updated our JSS from 8.62 to 8.71. Since then, any Macs we image (Casper Imaging) fail to have the root account enabled. Enabling root as part of a configuration has been working for the past year or more.

We use the command: /usr/sbin/dsenableroot -u admin -p password -r root-password in a script that runs "at reboot". Obviously password and root-password are not in the command line…

Could be coincidence that it magically stopped working when we upgraded, but I am not a big fan of coincidence…

On the other hand, how could the JSS version (and consequently the version of Casper Imaging we are using) cause this issue?
Ideas?

1 ACCEPTED SOLUTION

Kevin
Contributor II

I have discovered the cause of my root account creation failure; the command relies on an existing admin account to enable 'root'. The script to create THAT admin account had been removed from all six of the configurations. The script was still on the server and available to the JSS.

As there do not seem to be any change logs for configurations, I have no way to find out how the script was removed (or WHO might have done it). It is possible that something happened during the upgrade, but also could have been a really careless admin in the JSS (that deleted it from all six configurations by accident…).

View solution in original post

3 REPLIES 3

Kevin
Contributor II

I have discovered the cause of my root account creation failure; the command relies on an existing admin account to enable 'root'. The script to create THAT admin account had been removed from all six of the configurations. The script was still on the server and available to the JSS.

As there do not seem to be any change logs for configurations, I have no way to find out how the script was removed (or WHO might have done it). It is possible that something happened during the upgrade, but also could have been a really careless admin in the JSS (that deleted it from all six configurations by accident…).

Josh_S
Contributor III

I'm not saying this happened, but it's actually pretty easy. Right-click, "Replace in all Configurations with".

stephaniemm77
Contributor II

Wondering if your script still works, I was using something that is now no longer working!!