How To "lock Down" A Os X User Account - Crude but effective way to maintain Macs

free web hosting
Open Discussion > CONTRIBUTE > Tutorials

How To "lock Down" A Os X User Account - Crude but effective way to maintain Macs

taplinb
Here's a quick summary of how one can configure OS X for use in public labs running Panther (10.3). It should also work with Tiger (10.4) but I dunno. There may be better ways, but this is quick and cheap:

1. Install OS X fresh, or boot up your new Mac, and
set the username to MacAdmin or the like. This is
now the administrator account which users should
never touch. Share this password only with trusted
admins authorized to muck with critical systems.

2. Install all the software you expect anyone to need
in the default folders (usually Applications). Do not
customize things too much. Keep it simple.

3. In Apple -> System Preferences, set your prefs for
Desktop, Dock, Screen Effects, etc. Do not enable
anything under Sharing, and tweak network stuff
as needed for your LAN or WAN including DNS.

4. In System Preferences -> Accounts, make two new
accounts: macuser and template. Set and record
the accounts' passwords and share them only with
qualified admins and junior admins. With macuser
highlighted, click Set Auto Login, then Capabilities.

5. In Capabilities, uncheck Remove Items from Dock,
Open all System Preferences, and Change Password.
You can also restrict which Applications run, but I
don't see much harm in leaving that restriction off.
Your call. Some disable games or delete them.

6. Quit System preferences, logout, then login as the
user "template". While in as template, set things
exactly as you would want for the users. Be sure
to test each application and define settings like
default web page (in Safari and Internet Explorer).

7. Logout, login again as MacAdmin. User the Print
Center under Applications -> Utilities to configure
any printers you might have. I favor direct TCP/IP
printing, but some of you might still use Appletalk.

8. Use the NetInfo Manager app, also in Utilities, to
open up Security by first authenticating and then
enabling the root account. Don't do this unless you
have some understanding of UNIX administration
or are willing to be very careful. It's brain surgery.

10. Once root is enabled, open Utilities -> Terminal
and "su" to become root. This makes you god
of the system until you "exit" or quit Terminal.

11. As root, and only if you are familiar with basic
UNIX admin (much like on Linux or FreeBSD),
copy /etc/rc to /etc/rc.backup, then edit /etc/rc
with vi. At the bottom of the file, just above the
exit line, add this: /etc/macuserfix.sh

12. Save changes to /etc/rc, then use vi to create file
/etc/macuserfix.sh which should include the text
below (minus the leading spaces on each line):

#!/bin/sh
if [ ! -d /user/template ]
then
rm -r /users/macuser/.* > /dev/null 2>&1
rm -r /users/macuser/*
cp -Rp /users/template/.CFU* /users/macuser > /dev/null 2>&1
cp -Rp /users/template/* /users/macuser > /dev/null 2>&1
chown -R macuser /users/macuser/
fi

13. This little shell script is case-sensitive and must
be done almost exactly as shown. Double-check.
When confident, chmod +x /etc/macuserfix.sh.

14. Now cd /users and make sure each account
owns its own directory. You can do so with:
chown [account] [account], e.g.
chown macuser macuser.

15. Exit, exit, unauthenticate, quit NetInfo Manager,
then restart the Mac. After the restart, the Mac
should log itself in as macuser with the settings
you defined in step 7 above as template.

16. If this was done right and works as expected, the
user can only change a few things, and every
reboot the Mac will set itself back to normal.

There may be holes in this approach, and you may have to occasionally empty the Shared directory manually or via a shell script (could be automated to happen weekly), but for the most part the Mac should take care of itself.

When you need to make changes, make big changes as MacAdmin and then set the user experience in the template account. Changes are automatically copied to macuser. Don't bothrr customizing macuser itself, as those settings are wiped and recreated every boot.

 

 

 


Reply

OpaQue
This topic is being approved only because of the fact that you are the owner of this post. However, please do not post further content which has an online presence on the internet.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. mac os x lab lockdown - 101.74 hr back. (1)
  2. lockdown user account with regedit - 179.60 hr back. (1)
  3. x-user freebsd - 387.10 hr back. (1)
  4. regedit for osx - 573.99 hr back. (1)
  5. account - 1112.97 hr back. (1)
Similar Topics

Keywords : lock, os, x, user, account, crude, effective, maintain, macs

  1. Tips On How To Recover You Scammed Rs Account
    Would you like to recover your stolen rapidshare account? (0)
  2. User Permission Function [php]
    Determining User Permissions (3)
    There have been several recent request for methods to restrict access to various pages on a web-site
    based on User Permissions in sites that have a Login System in place. Here is some code showing one
    method to restrict access by providing a sub-set of your site's links based on the User's
    permissions. In this demonstration, I have defined a string for each 'level of user'
    determining which set(s) of links they can view on your site. Normal MySql procedure would be to
    read the User's permission level from a record in the database. For the purpose of ....
  3. How To Make A Decent Forum
    Some great tips on how to make and maintain a good forum (8)
    -Firstly, come on, use a decent forum system. Visitors to forums hate advertisements. The best way
    to guarantee no ads is to host it yourself. There’s loads of free web hosts out there- there’s loads
    of free forum software, too. So, come on! It doesn’t take much energy to find a good host and
    upload some files. I think the two best forum softwares to use are SMF(www.simplemachines.org) and
    phpBB(www.phpbb.com). -Secondly, if anybody is actually reading the topic with the link to your
    forum in, they must be dedicated to this one, and not many people are dedicated to ....
  4. Simple User System
    php, mysql driven (19)
    Hey! Maybe you've seen my other tutorials...or my signature.. Anyways I'm going to show
    you how to make a system so users of your site could register accounts and you could have protected
    - user only - pages on your site /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" /> Ok, so we start by creating a config.php file. CODE <?php
        $dbhost   = 'database host';     $dbname   = 'database name';
        $dbusername   = 'database username';     $dbuserpass = 'database pas....
  5. Ftp Account Management
    Part 2.2 of my 7 Part Cpanel Tutorial (1)
    This tutorial is an extension to my 7 tutorial series about the Cpanel. The 7 different Cpanel
    tutorials can be found below. Part 1: E-mail Management Part 2: Useful Site Management Tools
    Part 3: Useful Site Management Tools2.1 Part 4: Analysis/Log Files Part 5: Advanced Tools Part
    6: PreInstalled Scripts, Extras, and Cpanel Options Part 7: Fantastico Detailed Cpanel
    Tutorial Part 2.2: FTP Management For this tutorial, you will need to locate the Icon under
    Site Management Tools labeled FTP Manager and also inside of the FTP:// Accounts area....
  6. How To Protect Your Adsense Account
    and never worry about accidentally clicking on your own ads (4)
    Have you ever worried about accidentallay clicking on your own Adsense ads? Ever worry that someone
    in your family or a friend might happen upon your website and click on your ads? It can happen and
    it can get your account shut down quick. Here is what I do so I never have to worry about it. As I
    am using windows 2000 I will use that for this example. Windows 98, Me and XP would be similar,
    you'd just have to find the location of the files and edit the batch file using the full path
    names. The first thing is to locate the file named "hosts" in your system files. The....
  7. Set Os X Server 10.3 Dhcp To Filter Desks
    Restrict which PCs/Macs get DHCP IP #s (0)
    Among my other duties, I help run a small computing lab for med students at the U of MN. Recently I
    learned that though we only have about twenty legitimate DHCP clients on our wired ethernet getting
    addresses from our Mac OS X 10.3 Server (great system), thirty allocated DHCP addresses were being
    used. Huh? I found that some addresses went to testing, which I understand, but others were being
    grabbed by PCs that should have static IPs but were misconfigured and/or by outsiders who unplugged
    our PCs to network personal laptops (a no-no). We don't watch our PCs all t....
  8. Hiding User Account On Xp
    (0)
    Hopefully someone will find this useful. Ive done this on my machine as well. To a hide an account
    to display on the welcome screen of xp here is a nifty way: 1. Open regedit 2. Browse to
    Hkey_local_machine> software>microsoft>windows nt>winlogon>special Accounts>Userlist Here you will
    see a list of all accounts on XP which are hidden and dont display on welcome screen. Yes XP does
    create useless accounts as you see there. 3. Go on the right pane, right click, create a new dword
    value with its name as the exact username you want to hide and its value as "0" without t....
  9. How To: Change An Image When A User Clicks On It
    using both php and javascript (11)
    How To: Change An Image When A User Clicks On It using both php and javascript - a powerful
    combination I have seen quite a few how tos offering a method of doing this but none of which
    resembled my method of making use of both php and javascript. This code is fairly repetitive and
    most of the functions are easy to pick-up if you haven't heard of them before. Here it is...
    Create your two images. Call them anything you like, you'd just need to change their filenames
    in $imgano $imgayes. In fact with this script you can easily create more tha....
  10. Methods Of Optimizing Your Pc's Performance
    A sure and effective ways that works. (10)
    Methods of optimizing your PC for higher performance. 1st of all, let us start with my
    computer's hardware configuration. I am pasting the report generated by Lavalys' Everest
    Home Edition about my system. Note to Admins and Moderators: I pasted this report only to stress
    the effectivenes of the optimization methods and to proove to people that everything I am saying is
    true and not some fabricated story, but not for hosting credits purposes. The Report QUOTE  
      Computer                                          RIDHIMA (My personal computer, named aft....
  11. Simple Login In Visual Basic 6
    user interaction example trough login programm (6)
    First of all, I am NOT a programmer, this is something my friend taught me. It describes basic
    interaction with the user, while showing basic functionality of this simple programm. So, without
    further ado, we're off to the tutorial: First of all, start your visual basic, when prompted
    for new project, select Standard Exe . Next, we need to open code window, so we can start typing
    the program. This can be done in two ways, one is double clicking on the form, or selecting Code
    from View menu. If you double clicked on the form, you will see following text: CODE ....
  12. Php Installed Modules Dynamic Reference Tool
    An effective tool for coding in PHP (4)
    PHP Installed Modules Dynamic Reference Tool A dynamic tool for referencing PHP modules and
    their associated routines, which are installed on your web-server. **Note: Uses only 2 functions
    built-in to PHPs core and should be easy to convert to a later version of PHP. This current version
    uses PHP4. Example: PHP Installed Modules Dynamic Reference Tool Abstract : As a PHP
    Developer, it is nice to know what functionality is available to you, and what you would have to
    implement yourself. Some of this functionality is provided for you by the PHP core,....
  13. Parking Domains
    howto on adding a purchased domain to your account here (3)
    I wrote this tutorial for astahost, but I thought I'd add it here too /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> QUOTE Since this is something we may encounter
    while being hosted here I thought I'd touch the subject /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> First of all this tutorial/how to is written for
    those who have purchased a domain name through a registrar /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> Depending on how your registrar works, you should
    be able ....

    1. Looking for lock, os, x, user, account, crude, effective, maintain, macs

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for lock, os, x, user, account, crude, effective, maintain, macs

*MORE FROM TRAP17.COM*
advertisement



How To "lock Down" A Os X User Account - Crude but effective way to maintain Macs



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE