Pushing Out User Account Using ARD

Does anyone know if it is possible to push an entire user account from the administrative computer to a client computer? I am trying to come up with an easy way to create a new user account on 35 student computers in a lab setting. Thanks

Hi
You should be able to achieve this using the command line? The commands that follow need to be run as root. As an example let's use one of Apple's 'favourite' test users - Howie Doitt.
Create a new entry in the local domain under the category /Users
dscl . -create /Users/howiedoitt
Create and set the shell property
dscl . -create /Users/howiedoitt UserShell /bin/bash
Create and set the user’s full name
dscl . -create /Users/howiedoitt RealName "Howie Doitt"
Create and set the user’s ID (assuming only one account?)
dscl . -create /Users/howiedoitt UniqueID 510
Create and set the user’s group ID (the default staff group)
dscl . -create /Users/howiedoitt PrimaryGroupID 20
Create and set the user home directory
dscl . -create /Users/howiedoitt NFSHomeDirectory /Local/Users/howiedoitt
Set the password - if desired?
dscl . -passwd /Users/howiedoitt whateverpasswordyouwant
If you would like howiedoitt to be able to perform administrative duties
dscl . -append /Groups/admin GroupMembership howiedoitt
Restart the workstation(s) or log out the current user and log in again as the new user for changes to take effect. If there was no home folder created it will be created on successful login with the appropriate POSIX permissions set. You could pre-create the home folder in /Users using the mkdir command making sure you define that folder's name as the created user's shortname.
There are a number of ways of doing the above using ARD. You could do it command by command applied to a selected list of computers. Or combine the whole lot into a script and run the script. You could even schedule when the script can be run.
Tony

Similar Messages

  • HT2602 If i download mountain lion will all user accounts use this operating system automatically?

    If i download mountain lion will all user accounts use this operating system automatically?  Or do I need to download it for each user... Its taking ages to download too.

    Welcome to the Apple Support Communities
    When you upgrade the operating system, all users are upgraded to be used with the new version, so you won't have to upgrade OS X each time for all your users

  • Enabling right click for multiple user accounts via ARD

    Is there a way to enable secondary click on multiple user accounts at the same time using ARD? Is it possible to do this using a UNIX code? If so could someone give me an example of the code?
    Thanks in advance for any help.

    It should be something like:
    defaults write com.apple.driver.AppleHIDMouse Button2 2
    You'll need to get the exact domain name for your systems' mice; use
    defaults domains
    and look for the mouse driver entry.
    Regards.

  • Two user accounts using the same home folder

    This may sound like a silly or goofy question, but I was wondering if anyone knows how to use two different user accounts, but with each using the same home folder?
    I was wondering because there are many different settings I would like to use for different settings. Kind of like a "Spaces on Steroids." When I'm at school, I'd like to use one Network Settings, one desktop and icons, one Dock, etc. And when at home, a different set of each, but still using the same home folder.
    Any help or suggestions would be most appreciated.

    ZooCrewMan wrote:
    So, I figured the easiest was would be seperate user accounts, "Home" "School" "Work" etc., and all have different settings, but still point to the same Home Folder.
    The problem is, most of those settings are kept in the home folder.
    You could probably do what Softwater suggests, with an AppleScript, or perhaps an Automator workflow, but it's not without some serious downsides.  You'd need one for each setup.
    At least one complication would be, any change you wanted to make to each setup would have to be done to that script; you couldn't just drag something into (or out of) the Dock.
    Another theoretical possiblility would be to have separate user accounts, but use the special Shared user folder for your data.  You'd have to select it as a souce or destination for each app you use, but many will remember that from use to use. 
    The complication would be permissions.  When you save a document there, the user that saved it is the owner, with read & write rights.  All other users have read-only rights, so could view and open them, but not update them.  You'd probably want to create one or more sub-folders in the Shared account (for various types of files), and you could probably set a Folder Action on each to grant read & write permissions to anything created in them.
    Then you could set up the desired network location, Dock, and Desktop for each user account.

  • How to find out User Id Used in Debugging Mode

    Hi Gurus
    Could you plz advice . how find to  out  SAP user Id used to   delete  SAP table entries in Debugging Mode.
    Thanks
    Ravi

    Hi Ravikanth,
      I'm not sure how to check the change log in debugging mode,
    but you can get the LOG DATA CHANGES from tcode SCU3(If log checkbox selected in Technical settings).
    You may check the coding for scu3 for more details.
    Happy coding..!!
    //Kiran Singh

  • 2 user accounts using 1 iCloud drive account, different folders and files for each user.

    I have two user accounts on my Mac. One for work and one for personal use.
    They both share my iCloud and iCloud drive account. My issue is that when I update the files in my work account the changes do not take place when I log into my personal account on my mac.. I find this strange seeing as I am only using one account for both.
    This means when I am working and make folders or rename files and folders they only appear when I view iCloud Drive from that user profile. When I try to view iCloud drive from my personal user account or other iOS devices like my phone the old changes remain.
    Has anyone any ideas why this is?

    Because iCloud drive is not shared between users.  Each account has it's own storage.  It is NOT shared.

  • Add shared calendar to another users account using powershell

    Hi,
    I am trying to add a calendar to another using account using powershell as it will be easier to make a script than logging in to each user and adding the calendar. Has anyone done this before or know how to do it.
    Thanks

    Are you asking about Outlook or about Exchange?
    In Exchange you can likely do this via EWS.
    Here is how to do this in Access but has to be done under user account:\
    http://www.outlookcode.com/threads.aspx?forumid=2&messageid=27088
    Under EWS it is similar but can be done by impersonation.
    ¯\_(ツ)_/¯

  • Create User Account Using Terminal in OSX 10.9.5

    I am working on creating a shell script to create a specific user on all Mac computers at work. I have run the following commands in Terminal with no luck:
    dscl . create /Users/myuser
    dscl . create /Users/myuser RealName "My User"
    dscl . passwd /Users/myuser UsersPW
    dscl . create /Users/myuser UniqueID 561
    dscl . create /Users/myuser PrimaryGroupID 1000
    dscl . create /Users/myuser NFSHomeDirectory /Users/administrator
    dscl . create /Users/myuser UserShell /bin/bash
    dscl . append /Groups/admin GroupMembership administrator
    I have seen in the discussions that running these commands has enabled some to log in using the user account they created - they just can't see the user account in the Users list in Sys Prefs. I can't see my user account, log into my computer with it, or see a user folder at /Users/myuser. I AM able to see the user after running the dscl command and cd Local/Users/myuser - but with an ls that directory is empty. What am I missing?
    In terminal I am using the root user. I've tried logging in with sudo su and sudo -s. All commands run, but no account is created.
    If anyone could help it would be greatly appreciated.

    I don't really understand your reply, but since asking my question I realized that if, rather than choose 'New Image' inside the Disk Utility window, I use the menu bar at the top of the screen, and select File > New > Blank Disk Image,  then I get the choices I hoped for. It's all in looking in the right place, I guess, but I do wonder why those choices are not available when you choose 'New Image' within the Disk Utility window. Oh well.

  • Where is the MailAccounts.plist stored for a network user account using Apple Mail on Snow Lion?

    Where is the MailAccounts.plist file stored for a network user using Apple Mail on Snow Leopard?  It appears one of my users has managed to do something to their mail account as Apple Mail will no longer close once opened and the Sent Folder has a perpetual spinning pinwheel.

    They would have to be logged in as separate users in order not to see your account in Mail. Whatever accounts put in Mail under your account will show up. All mail accounts usually have there own user and password. The only thing you can do is to remove the password from Keychain and take the account offline so you don't keep getting prompts for passwords each time it checks for mail.
    Not a great solution.
    Best way is to give the other user their own user account with their own mail and enable fast user swithcing to log between the different users if all access the computer frequently.

  • How to delete a greyed out user account?

    I'm trying to delete several user accounts, but some (both standard and admin) are greyed out even after i unlock the window in preferences/accounts. I can't find any info on why this might be, or how to delete these user accounts. Anybody have any ideas?
    Thanks.

    Well, I think that was the answer, since when i rebooted, then I had free access to all the accounts. Thanks for your quick response.
    -wayne

  • Mirroring itunes in all User Accounts using OSx Lion?

    Hi do we share the same itunes in all of our i=user accounts on our imac using OSx Lion?
    This must be a simple question but I seem to be missing it.
    Thanks,
    Steve

    Two approaches. Do you mean a single library (as in what you see in iTunes, playlists, etc.)?  Or do you mean the same media but each person has different libraries?
    Chris CA's instructions on sharing iTunes music libraries between multiple user accounts - http://discussions.apple.com/message.jspa?messageID=8973804
    Similar procedure but you only share media, not the whole library:
    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189

  • Expire/Suspend User account using chpass

    I have a need to expire/suspend certain user accounts on a specific date. So basically when I setup a user account, the account is only good until a certain date. I see that there is a "chpass" command and I have tried that but it does not seem to work. Is there something special that I need to do?
    As a test I did a "chpass imts" and the editor came up. I changed the expire date to Dec 1 2006 and saved. I verified in NetInfo that the expire flag had been added to the user account. I then tried a "login" from a terminal and I was allowed to login.
    Is there something special that I need to do to get this to work on OS X Tiger "Client"?
    Thanks for any help
    Mike

    I haven't tried setting accounts to expire using 'chpass', but 'pwpolicy' does work, at least in limited tinkering on my system (10.4.8). It adds a 'passwordpolicyoptions' property (it's one of those long multi-line values that look like xml) to the user's entry in "NetInfo". Try 'man pwpolicy' for more details - not all of the options actually work on an OS X client system, but the account expiry ones do.
    The 'passwordpolicyoptions' can also be set using "Workgroup Manger.app", included with the "Server Admin Tools" which can be downloaded from Apple, and used to configure OS X client.
    http://www.apple.com/support/downloads/serveradmintools1047.html
    Note that "admin" accounts aren't subject to password policies.

  • Change users from Administrator account to user account using domain controller

    good day,
    In our domain controller we have around 1200 users, all these users have admin account and there is the problem.
    I want to change them to a user accounts so they can not change IP address and install or uninstall programs with out our consent.
    Is there a possibility to do this with the domain controller, because i don't want to go change the computers one by one. from admin account to user account.
    Thank you so much

    Hi,
    I agree with
    Ravikumar. I assume what you mean is local admin rights. Since you have so many users which
    have local admin rights, you would have created an administrator group and add all the users to that group in Local Users and Groups of Computer Management. You can remove them from the administrator group and add them to a user group.
    More information:
    Local Users and Groups
    http://technet.microsoft.com/en-us/library/cc786411(v=ws.10).aspx
    Best regards,
    Susie

  • Home directory creation for local user accounts using powershell

    Through Computer Management when I create a user, a home directory is created for the same user in the folder C:\Users.I am creating a user through powershell in a remote machine.I am using the following script to create user 
    $comp = [ADSI]'WinNT://localhost,computer';
    $user = $comp.Create('User', 'account7');
    $user.SetPassword('Welcome1');
    $user.SetInfo();
    The account is getting created. But no home directory is created for this user. How to create a home directory for a user using powershell? Also the user created through GUI is a member of the group 'Users' by default. How to add the user created to the
    'Users'  Group.

    Hi Cmm user,
    Thanks for your posting.
    To set the attribute of homedirectory for a user in powershell, please also try the cmdlet set-aduser:
    import-module activedirectory
    $HomeDrive=’Z:’
    $UserRoot=’\\CONTOSO-FPS\Users$\’
    $HomeDirectory=$UserRoot+$AccountName
    SET-ADUSER $AccountName –HomeDrive $HomeDrive –HomeDirectory $HomeDirectory
    I hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to find out user privilege using JPDK

    Hi All,
    How can I find out what type of user-privilege that a user has inside the renderBody method of the subclass of the BaseManagedRenderer class? e.g: whether the user has the Administer privilege.
    I looked through the ProviderUser object which can be obtained from the pr.getUser() (PortletRenderRequest.getUser()) and it does not seem to provide the method to get the user's privilege.
    Any insight is greatly appreciated!
    Thanks,
    Vince

    Vince,
    How did you figure out calling the is_user_in_group or other
    similar function calls in the WWSEC_API?
    I tried making a regular SQL Statement by doing the following.
    CallableStatement callablestatement = conn.prepareCall
    ("begin ? := wwsec_api.is_user_in_group(?,?); end;");
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, 17);
    callablestatement.setInt(3, 0);
    callablestatement.execute();
    boolean s2 = callablestatement.getBoolean(1);
    callablestatement.close();
    but it fails with the following exception in the JSP...
    java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00382:
    expression is of wrong type ORA-06550: line 1, column 7: PL/SQL:
    Statement ignored
    Can you shed some light on the problem?
    Thanks,
    Niket Parikh

Maybe you are looking for

  • SharePoint Foundation 2013 Feature Pack and Site Templates

    I have created a site using a site subscription and a SharePoint Foundation 2013 Feature Pack ( used the SP Foundation Feature Pack Script here http://gallery.technet.microsoft.com/office/SharePoint-2013-Foundation-d3d1637f that was created by Spence

  • PDF file conversion into XSTRING

    Hi, We have a requirement that we are to convert a PDF file into XSTRING. My requirement is that i am to upload a file into DMS. So i am to pass the file as a XSTRING to a RFC. How can we achieve that?? Thanks, Anumit

  • IOS 6 Custom Ringtones for 3rd party apps such as Talkatone

    Will iOS 6 ever allow an app such as talkatone or google voice to allow custom ringtones? Does anyone know?? Since they upgraded from iOS 5 to 6 that feature is no longer available. It is quite a bummer. Please put it on again Apple!

  • Translate to EJB-QL

    hi, can someone translate this to EJB-QL i can't find an example if there is an embedded select statement SELECT * FROM table1 t1, table2 t2 WHERE t1.id = ? AND t2.id IN (SELECT id FROM table3 WHERE id = ?) thanks

  • Install PM 6.5

    How to install PageMaker 6.5 on windows 7,  64bit