Tagged with single user mode

Leon Chung

Creating User Records with dscl

I was decomissioning an Xserve from serving MCX (I was turning off Open Directory) to keep it from serving some transitional MCX. Long story short, I deleted the OD. However, the Xserve was still running a print server for Linux boxes and now, root was gone! Could not sudo or su to root. It kept giving me Unknown user. It turns out, root was really gone. The Xserve was running 10.6 server. I was ...

dscl root xserve Snow Leopard Snow Leopard Server single user mode