Wednesday, March 19, 2008

Mac Os X Tips

Deleting protected files


In earlier versions of Mac OS, it was possible to the Option key while emptying the trash to press to delete protected files. This doesn't work on Mac OS X anymore.

If an object can not delete because it is protected:

1. Select the object
2. Select "Show" from the File menu.
3. Click "only" to disable this option.
4. If several properties are affected, repeat these steps for each further object or select all the files together, and then select "Show" from the File menu.


Delete protected files for advanced:


If the above-described way to complicated, because hundreds of protected files in trash can, you can delete all once with the command level (terminal window)

1. Open the Terminal (located in / Applications / Utilities)
2. Enter the following: "chflags-R nouchg" (without the quotes of course ;-)
Important: Write to "nouchg" a space (in the example above is not visible), so it looks as follows: "nouchg". Do not press Return yet.
3. Go to the trash icon in the Dock by double-clicking to the contents.
4. Press Command-A key combination to select all files in the Trash can
5. Drag the files from the trash in the terminal window
Note: This will automatically pathname for each file. So have several trashcan directories no longer be emptied individually, especially if there are several volumes.
6. Push the line switch. It is not a message that the command was successful.
7. Now, emptying the Recycle Bin.

If the trash can not be emptied or in the Terminal "is a message" usage chflags [R [-H | L |-P]] flags file ... " Then you have to step 2 predefined texts probably not exactly entered the space or forgotten.

"Managed" Admin-user setup


The security management functions allow the user to restrict the rights of "managed" users. So it is possible to certain users to change system settings to ban - which the network also makes sense.
But what if these users will be allowed, even programs to install?

There is a possible solution:

Set up using the System Preferences "user" a new user and awarded to "restrictions" Certain.. Select the restriction "Any system open attitude" is not enough. The user will not be able to critical system settings to open.

Now open the Netinfo manager and identify yourself. Click on "groups" and select the "Admin”. Click on the users property and then hit Command+Option+N to insert a new value. Type the short name for the new user. Save your changes with Command+S and quit.

Now, the new user in the user administration as "admin, managed". This user can now install programs, but has no access to critical system settings. Of course this probably isn't 100% secure, as an Admin user could probably find a workaround for this limitation. However, it appears to have solved our problem in a simple way, without having to extensively modify the overall system permissions.



No comments:

Technorati

Add to Technorati Favorites