Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

UmichAg

macrumors member
Original poster
Feb 26, 2008
94
19
So, I'm an idiot. A really big idiot.

I was messing around in the Terminal and accessed root [sudo -s]

I assumed root access would end upon closing the terminal, but I guess not.
I can see all my hidden files (e.g., mach_kernal). How do I disable root and get back to not being able to see my hidden files?

I've learned my lesson - never mess around with things you don't understand. :(


Thanks for your help!
 
never mess around with things you don't understand.
Very true!

To hide hidden files in Finder, enter the following two commands into a Terminal window (press enter after each line):
defaults write com.apple.Finder AppleShowAllFiles FALSE
killall Finder​
 
Thanks!

Thanks for the quick reply!

I assume root is no longer "active." Just want to make sure I'm not endangering myself from making any even dumber mistake
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.