Originally Posted by
sonatine
bash-3.2# ./hashes.sh
<dscl_cmd> DS Error: -14136 (eDSRecordNotFound)
<dscl_cmd> DS Error: -14136 (eDSRecordNotFound)
408mike@LKDC:SHA1.84AE33CD6147F246C9C45C6B62F12E34 D93DC2176635395B6C
bash-3.2# ls /Users
.localized Shared 408mike
bash-3.2#
The errors are from it trying to look up .localized and Shared, neither of which are actual user accounts of course.
What version osx are you running?
ML but it's identical to Lion.
JohnMacBookAir:Users root# l
total 0
drwxr-xr-x 5 root admin 170 Aug 29 05:29 .
drwxr-xr-x 26 root wheel 952 Aug 30 16:13 ..
-rw-r--r-- 1 root wheel 0 Jun 21 03:00 .localized
drwxrwxrwt 5 root wheel 170 Aug 29 05:29 Shared
drwxrwxr-x+ 20 johnvincent admin 680 Aug 30 06:44 johnvincent
JohnMacBookAir:Users root#
It only comes up with the same result:
JohnMacBookAir:/ root# /skatz.sh
<dscl_cmd> DS Error: -14136 (eDSRecordNotFound)
<dscl_cmd> DS Error: -14136 (eDSRecordNotFound)
JohnMacBookAir:/ root#
The thought just struck me, it'll take me too long to get the redundant verification so just believe me but when run Applejack from single user mode, this tiny thing happens which has been bugging my OCD for like all 2012. When I go to clean my cache after cleaning the system cache, it asks me if I want to clean mine, I say yes, then it says [501] no user detected.
I type in 501 and it deletes my cache so I shrug cause meh.
All I do is patterns. There's a pattern there. My username is not being detected by AppleJack and your script. What's with that? Anything?