Launch finder as root

On January 29, 2012, in Blog, OSX Tips, by

finder 150x150 Launch finder as rootSometimes theres a need to dig around in the OS X file system without restriction, (which also means without protection) for example should you need access to files or folders, but don’t fancy switching permissions or playing with complex terminal commands.

Using the single lined command below in terminal you can launch an instance of finder which doesn’t hold any of the restrictions that your normal finder window holds.

Bear in mind this will also give you the ability to cause serious damage to your file system, should you go messing with things you shouldn’t.

Copy and paste the following into a terminal window and press return.

sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

You will be prompted for your password, then a new finder instance should launch. It it doesn’t you should see a second set of icons overlaying your desktop icons. Double click the ‘root’ icon, and it should launch finder as root.

Remember boys and girls.. Be careful in there!

Tagged with:  
cocktail mac os x1 50% off Cocktail   Limited Time Only

Cocktail is an award winning general purpose utility for Mac OS X. It is a smooth and powerful digital toolset with a variety of practical features that simplifies the use of advanced UNIX functions and helps Mac users around the world to get the most out of their computers. Cocktail is installed at more than 200 000 computers world wide.

Cocktail can be used to automate some of the more advanced Mac maintenance tasked required to keep your Mac running at full performance. 

disks 50% off Cocktail   Limited Time Only Disks system 50% off Cocktail   Limited Time Only System




• Automatically check SMART (Self Monitoring, Analysis and Reporting Technology) status of disks 
• Enable or disable journaling on selected disk 
• Repair disk permissions permissions on selected disk 
• Reset home directory permissions and Access Control Lists 
• Set disk sleep (spindown) time 
• Modify sleep settings for portable computers 
• Allow or prevent mounting of external disks during system startup 
• Enable or disable Sudden Motion Sensor
• Run periodic maintenance scripts 
• Enable or disable Spotlight indexing of selected disk 
• Erase Spotlight index for selected disk 
• Set backup interval and modify other Time Machine settings 
• Rebuild Launch Services database 
• Update locate and whatis databases 
• Change startup mode 
• Set startup delay 
• Force empty Trash 
• Enable Kiosk mode


files 50% off Cocktail   Limited Time Only Files

• Clear system caches, component caches, data detectors caches, Directory Service caches, dynamic link editor’s (dyld) shared cache, kernel caches, user caches, ColorSync caches, Dock caches, Java caches, QuickLook caches, QuickTime caches and font caches (including font caches created by applications from Adobe, Microsoft and Quark) 
• Clear trojan horses and worms such as Astht (AplS.Saprilt, Hovdy), Inqtana, iServices, Leap (CME-4, Oomp), RSPlug (Jahlav), Lamzev, PokerStealer or other malwares that may harm your system in any way. 
• Clear CUPS (Common Unix Printing System) job files, core files, virtual memory swap files and other temporary files 
• Clear Internet caches, cookies, download lists, form values, history files and page icons created by Safari, Camino, Firefox, OmniWeb, Opera and Shiira web browsers 
• Search for corrupted preference files 
• Manage (view, print and save) log files 
• Clear log files (manually or automatically rotate and/or remove archived copies of log files) 
• Delete DS Store files from disks or folders and their subfolders 
• Allow or prevent DS Store files creation on network volumes 
• Delete locked or inaccessible items 
• Lock or unlock files and folders 

network 50% off Cocktail   Limited Time Only Network

• Change speed, duplex and MTU of network cards 
• Easily optimize network settings for common connection types (Dial-up/PPP, Bluetooth/GPRS/EDGE, Satellite, DSL/PPPoE, Cable modem and Fiber/FiOS) 
• Manually modify TCP receive and send window sizes, TCP slow link window size, UDP outgoing datagram size, UDP receive buffer size, receive and send buffer sizes for local stream sockets as well as state of delayed ACKs, NewReno Fast Recovery and RFC-1323 extensions
• Configure the built-in (File Sharing) Mac OS X file server 

interface 50% off Cocktail   Limited Time Only Interface pilot 50% off Cocktail   Limited Time Only Pilot


• Customize look and features of Finder, Dock, Safari, Exposé, login window and other system services 
• Modify hidden settings of Address Book, Backup, Disk Utility, iCal, iTunes, Mail, QuickTime X, Remote Desktop, Screen Sharing and Terminal 
• Clean, repair and optimize your system with one click of the button 
• Schedule clearing of system, user and Internet caches, clearing of log files, repair of disk permissions and run of periodic maintenance scripts 

For a limited time only (until 27th December) you can get a copy of Cocktail from MacZOT for only $9.95£6.24 (Normally $19.95£12.50)

Using the Redemption object you can use the following code to reset the permissions on a folders sub folders in outlook to leave the Default permissions.

Handy if you need to reset permissions on large numbers of folders.

Sub scall()   Dim TopFolder   Set mySession = CreateObject("Redemption.RDOSession")   mySession.Logon   Set TopFolder = mySession.PickFolder   For i = 1 To TopFolder.Folders.Count   Debug.Print ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>> " & TopFolder.Folders(i).Name   For Each ace In TopFolder.Folders (i).ACL   Debug.Print ace.Name & " - " & ace.rights   If ace.Name "Default" Then   ace.Delete   Debug.Print ">>>>>>>>>>>>>>>   Deleted " & ace.Name   Else   If ace.rights > 0 Then   ace.rights = 0   Debug.Print "<<<<<<<<<<<<<<< Rights Reset"   Else   Debug.Print "< Rights default"   End If   End If   Next   Next   End Sub
Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!