Hey all,
Not strictly a casper question per se however thought I'd give it a run here. I'd like to enable root as part of my first boot script in the imaging workflow. May of our techs aren't comfortable using the CLI and with my old base OS images I would enable root using the GUI and set up a basic dock with tools etc that they could use. I realise that it was handing over a lot of responsibility that they could login as root however it worked for us in the past. With a never booted image I can't seem to be able to allow the root account to be activated so they can log in should they need to.
I have used dsenableroot [-u username] [-p password] [-r rootPassword] entering the appropriate admin user, password and root password however they can't login nor authenticate as root. When I look at Directory utility I can see that root has been enabled and the option to change the password is possible which tells me that the above command in the script worked but isn't quite there. Once logged in as an admin I can run sudo su, passwd and enter the root password twice which then allows root to be fully enabled but I can't seem to work out how to script that and bypass the prompts
Does anyone know how to fully enable root to allow authentication and to login to the system as root?
Any help always appreciated.
Cheers
T