Sponsored Content
Operating Systems OS X (Apple) Editing System Preference in Terminal Post 302466072 by tlarkin on Monday 25th of October 2010 10:35:32 AM
Old 10-25-2010
The main caveat with what you want to do, is once you set a preference the end user can just change and/or delete your property list file (.plist) and you will just be back to square one.

A lot of what you can do, you can do via MCX. Here is what I would do in a nutshell, and I am sure if you Google this you will find better examples.

1) - download server tools
2) - Configure you client with Work Group Manager on the local Directory Services node
3) - Manage the computer exactly how you want to with the server tools running locally
4) - Once it is set up how you like it, export the MCX file for that user via dscl (directory services command line), and then you can write a log in hook script that imports that file when a user logs in

MCX cannot be modified or delete by the end user. Since Directory Services is very similar local client side as it is server side you can do this. The other option is to set up OS X Server running OD and then bind the client to the server and manage it that way.
 

7 More Discussions You Might Find Interesting

1. Solaris

How to change the system prompt and BG of terminal?

Hi all, I was wondering how to change the PS1 to my liking? I tried changing it using PS1='my choice' it worked but the subsequent terminals i open will not have it as the default PS1 ,how do i change it? also i am running as super user, and i need to exec bash, to get the bash environment...... (4 Replies)
Discussion started by: wrapster
4 Replies

2. OS X (Apple)

Find file associated with GUI preference pane

The flat files associated with the GUI are very useful in scripting, like the DNS section of the network pref pane seems to be a front end for resolv.conf.. but sometimes I cannot seem to find the file associated with the GUI area so i was wondering what is an easy way to do this? I was... (1 Reply)
Discussion started by: glev2005
1 Replies

3. UNIX for Dummies Questions & Answers

Frustrating but simple preference question

So I am set up on a new box for work here and I have a frustrating preference issue. Whenever I hit backspace, it deletes a whole word instead of a single character. I understand that this is generally the functionality of hitting ctrl-backspace. I tried googling for a solution and dabbled... (3 Replies)
Discussion started by: jasondj
3 Replies

4. Linux

how to perform a system check on linux via terminal

hi im new to this and i just want to learn about linux and i just wanted to know how would i be able to perform a system check to see if a directory exists. can any one help me? (2 Replies)
Discussion started by: roozis
2 Replies

5. OS X (Apple)

adding second password to preference or an app

Hi I am new to forum and glad I found this place. I have been searching for a way to add a secondary password to a preference pane such as date/time in Unix (Ox10.4.11) or to lock an application which I found a backdoor for access when password is not available. An app I use is a internet... (9 Replies)
Discussion started by: botchagalou
9 Replies

6. Red Hat

Menu system for terminal like Putty for host /ip list

Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows? (2 Replies)
Discussion started by: jlouki01
2 Replies

7. Shell Programming and Scripting

Help needed editing text file using the terminal

Hi, I have text file with the header like this tracking_id condition replicate FPKM XLOC_000001 alpha 1 10.3199 XLOC_000001 alpha 0 10.3686 XLOC_000001 alpha 2 15.5619 ... With the first column being genes, the second being the condition, the third... (5 Replies)
Discussion started by: 4galaxy7
5 Replies
gnome-mouse-properties(1)					   User Commands					 gnome-mouse-properties(1)

NAME
gnome-mouse-properties - set your mouse preferences SYNOPSIS
gnome-mouse-properties [gnome-std-options] DESCRIPTION
The Mouse preference tool allows you to configure your mouse for right-hand use or left-hand use. You can also specify the speed and sensi- tivity of mouse movement. OPTIONS
The following options are supported: gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5). EXAMPLES
Example 1: Launching the Mouse preference tool example% gnome-mouse-properties EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-mouse-proExecutable for Mouse preferences tool ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+------------------------------+ |Availability |SUNWgnome-desktop-preferences | +-----------------------------+------------------------------+ |Interface stability |External | +-----------------------------+------------------------------+ SEE ALSO
Preference Tools Manual Latest version of the GNOME Desktop User Guide for your platform. gnome-control-center(1), gnome-std-options(5) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003. SunOS 5.10 2 Oct 2003 gnome-mouse-properties(1)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy