Can dscl do multiple -create's in a single command?

Hi,
I've got what I think is a simple question. Currently, I've just figured out how to use dscl, and I love it. I can create a new user with:
dscl /LDAPv3/127.0.0.1 -create Users/dude UniqueID 1001
and then I can give that user other attributes like so:
dscl /LDAPv3/127.0.0.1 -create Users/dude RealName "Dude Maistro"
and
dscl /LDAPv3/127.0.0.1 -create Users/dude gidNumber 1001
BUT, is there any way to put those commands into a single statement? Something like:
dscl /LDAPv3/127.0.0.1 -create Users/dude UniqueID 1001 RealName "Dude Maistro" gidNumber 1001
I've tried a bunch of different ways, read the man pages, and searched these discussions a bit, but no luck yet.
Anyone have an answer for me?
Thanks!
Alex

there's a brief mention of dscl in the "essential mac os x panther server administration" book, but you'll probably find more details on the site linked above: www.afp548.com. it's not my site or script, by the way.
there may be more in this book, too.

Similar Messages

  • Can you have multiple itunes accounts on a single computer?  want to open a separate one for our daughter (but we will manage it).

    just got our daughter a new iTouch, but want to try and keep hers separate from our iPhone stuff.  can you have multiple iTunes accounts on a single computer?

    This is all i know but all you can do is just creat a new one for them both and send all the stuff to the one think u can do that i hope it helps

  • Can you have multiple contact forms in a single Muse site?

    I have a site created in Muse that needs to use multiple contact forms of a sort.  One is a simple contact form.  Two others are sign up forms. In two of the three forms I have to separate the First and Last names.  Also in those there are multiple Custom fields and Message fields.
    The original simple contact form is working fine and has been.  However, I modified one of the pages by adding a second form, the first of the two sign-up forms.  It looked great in Muse, but when uploaded to the site, all of the fields were gone, leaving only the Labels in a single paragraph.
    Does this mean I can't have multiple contact forms in a single site?  If I actually, can, then what might have caused the problem?  And what could you suggest for me to try to fix it?
    Thank you,
    Laura

    Thank you for the information, but I cannot find anywhere in help where to find the field names (if that is my problem).  I changed all the labels and the corresponding text inside the field (remember, Muse does not give access to code as far as I can tell).  When I preview the page in a browser (using FireFox as default, but also tried with IE), everything looks good.  When I export to html and open the index.html on my computer, everything still looks great.  But when I FTP the page to the website, this is what I get:
    First Name:RequiredRescuer Email:RequiredOrganization (if any):RequiredSubmitting Form...The server encountered an error.Form received.Geographic Areas Covered:RequiredRescuer Cell Phone:RequiredRescuer Home Phone:RequiredRescuer Home Address:
    RequiredRescuer City:RequiredRescuer State:RequiredRescuer Zip code:RequiredRescuer Country:RequiredVeterinarian Name:RequiredVet Address:RequiredVet City & State:RequiredVet Phone:RequiredRequiredServices Offered:RequiredAdditional Info About You:Required Rescuer (available to general public) RequiredVolunteer (available only to Rescuers)RequiredPhoneRequiredEmailRequiredOtherRequiredLast Name:RequiredImage Verification:Required
    How would you prefer to be listed?
    How would you prefer to be contacted?
    However, this is how it looks on the preview:
    So, what is my problem?  And how can I fix it?
    Thank you,
    Laura

  • Can I have multiple TFS instances use a single SSRS installation

    Can I have multiple TFS instances use a single SSRS installation?
    Thanks

    Hi Kim,
    According to your description, you have multiple TFS instances using one Reporting Services instance. Right?
    For installing TFS, to use a named instance with Team Foundation Server, you must install SQL Server by using a named instance, or move or restore Team Foundation Server data to a named instance, or create a team project collection on a named instance. Please
    refer to the link below:
    Work with SQL Server Named Instances
    Reference:
    Understanding SQL Server and SQL Server Reporting Services
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • Can We have multiple SLEDs maintained in a single Batch

    Hi all
    Can we have multiple SLEDs maintained within a single batch. This SLED would be maintained at Quant level. One batch will have multiple quants and would be maintained in separate bins. However in LX27 i should see both the SLED for the same batch.
    Please Help
    Thanks & Regards
    Jajati

    My sources tell me that batch management is not a part of Retail but of logistics and unfortunately I am not able to move your post to a better thread. However, I suggest you please do a search of all forums using "batch management" as your search criteria.You'll see loads of hits. You might find your answer there or a better place to post your question.

  • Can you combine multiple itunes accounts into a single one?

    I set up separate itunes accounts for my (2) sons (8 & 10) because one had an iPod and the other had an iTouch. 
    They just got an iPad for X-mas (that they'll share) ... I want to set up the iCloud and create a "joint" account. 
    Is it possible to combine their multiple itunes acounts into a single account?

    This is all i know but all you can do is just creat a new one for them both and send all the stuff to the one think u can do that i hope it helps

  • Can I link multiple iPhoto Events into a single slide show?

    I keep iPhoto Events based upon date and activity.  For example a European trip my be 3-4 events with one per country.  I also have Applw TV.  My question is can I link multiple Events into a single sideshow.  I have a lot of pictures, so doing this selection at the picture level will be tedious at best. 

    Not sure where you are going but my suggestion is not to work at the photo level - you simply select all of the photos in an event and create an album then drag all of the photos in each other event to that album giving you an album with all of the photos from the desired events in one place - then sleect them and make a slideshow - no working with indivitual photos at all
    LN

  • How can I allow multiple users to edit a single shared iCal calendar?

    Is it possible to allow multiple users to edit a single shared iCal calendar? I also want to provide different permissions to those users. Is this possible through .MAC? Is it possible on Mac OSX Server?

    I would like 2 agenda synced through .Mac but it does not work.
    I have 2 computers and 2 laptops. A very simple agenda with 3 calenders. Myself my partner and the office calender. I want to publish my calender and that of my partner. The office calender I would like to sync so that we can change the office calender at any location.
    I set up sync only for iCall and have a .Mac account. When I change anything on any of the calenders in iCall nothing happens on any of my other locations. Even though the locations are registered as synced. I can see the sync wheel turning but at the end of it the calenders are not synced.
    At this moment I fully understand the publish and unpublished calenders but have no clue what so ever what syncing does for iCall. There seems to be no functionality to it. It does not transport any calender info over .Mac. There is no visable check to see what is happening and the process of syncing is not transperent. Lots of my friends go to me for advise on Apple issues but as far as sync wether iCall or Addressbook I always tell them sync does not work and I have no clue why others have it working. I haven't met any people here in Holland either that got in working. I suppose with iCall you have to get third party software to share calenders editable calenders. Really hopeless situation, wish Apple would just have a manual stating what sync can do and what it can not. Hours wasted on this issue trying to get it to work.
    Hope anyone here can help out.

  • HT2534 Can you have multiple ITunes accounts under a single e-mail address (i.e. separate accounts for my children and myself?)?

    Can you have multiple ITunes accounts assigned to a single e-mail address?  i.e. different Apple ID's for my kids and myself, but all assigned to my e-mail address.

    No. Each account must have uniquie email address.

  • How can I combine multiple icloud calendars into a single published calendar?

    I have several calendars in Ical where I map my activities and schedules. Like many I need several calendars to categorise events.
    Now, I'd like others to see when I'm free and when I'm unavailable. For this, I'd need to find a way to copy multiple Icloud calendars into a single one for publishing - and the published calendar would also have to sync to any update I make in the original calendar.
    Any way to make this happen? Any third party app? Tried a couple - they were outdated and / or cumbersome.
    If only there was a "smart calendar" tool in Ical …

    It worked - up to the crucial point: after combining icloud calendars into one "on the machine" calendar, the latter is ready for going public. But of course - this public calendar will only contain the .ics files and will not sync for updates from the icloud calendars.
    And that's what I want.
    If this problem is not possible to solve with the software available in the Mac - is there any known third party solution for this?
    (Apple: "smart calendars" please!)

  • With Pages 5.2 how can i use multiple language types in a single document

    My Macbook Air Has the version 10.9.3
    I'm used to work with the old version of Page.
    But now I am using the new version of Pages 5.2 (1860).
    I want to know with the new version how do I use an multiple language types in a single document option.
    In the old  version of Pages I was using  Inspector -> Text -> "More" tab -> Language: British Inglese.
    In the new Pages 5.2 I do not know how to do it
    Could you help me?
    melo

    It's not possible to tag text with multiple languages in Pages 5.  Go back to Pages 4, which should still be in you iWork folder.
    For the whole doc in Pages 5, use Edit > Spellling and Grammar > Show Spelling and Grammar.

  • Can I covert multiple Word Documents into a single PDF using Acrobat Pro

    I'm using Acrobat Pro X version 10.1.10...I'm trying to select multiple Word Document files  (Mac Version 14.4.3) but when choosing the files, Word Documents I cannot select them as a convertible file format. If I drag them into the conversion box it says they are not a recognised file format....any ideas?

    Can you open any WORD file in Acrobat? If not, it is likely a limitation of Acrobat on the MAC. On the PC, you can simply use the Combine option in the file menu to create a new PDF. The conversion of the WORD document uses the PDF Maker option installed in WORD that must work, but this is the same process as opening a DOC or DOCX file directly in Acrobat. There are limitation with the compatibility of various versions of OFFICE and Acrobat that could be another issue you are having, but I don't know the combinations for a MAC. This only gives you some thoughts to consider. Some of the MAC users may be by later to give further thoughts.
    The alternative is to create a PDF for each of the WORD files and then use the combine feature to combine the PDFs.

  • Can I use multiple DAQmx Assitants in a single VI?

    Hello,
    I am working to create a VI that has 3 different incoming signals. I would really like to be able to program 3 DAQmx assistants, one for each of the incoming signals, which would be placed where the signal simulators are in the attached VI. Is this even possible? Is there a way to get one DAQmx assistant to produce each of the incoming signals without bundling them?
    Attachments:
    vi final-1_15_13.vi ‏102 KB

    Creating 3 different assistants is sillier than using 1.
    Seriously, if you must use the DAQ Assistant, you can only use 1. Just include all of your channels. The instructions for including multiple channels are pretty clear when you first select the DAQ Assistant. There is no bundle involved.

  • In iCal, how can I send multiple email invitations for a single event to one invitee who has multiple email addresses?

    In the "Invitees" field of an event in iCal 4.0.4, I can list my wife from her Address Book card, and choose either her work or personal email address; but I cannot add her *again* and choose the *other* email address, so that she receives it both at work and on her iPhone.
    I read about one (very awkward) workaround, where you create in Address Book a new email field for the person, in which all of the person's emails, separated by commas, are entered in one field. I have not tried it, yet, because it seems as if this addressing feat is fairly obvious and should be a really easy thing to do in iCal.

    Not sure about this problem. But if you don't get an answer soon, go here which is the Mail forum for Leopard (which you listed in your sig).
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.5_leopard?view=discu ssions#/?tagSet=1017

Maybe you are looking for

  • My widget secretnotepadplus wont open

    I have many things stored in the widget, many passwords and other information I did not want other people to be able to see. After installing snowleopard it will not open, anybody know how to make it happen? It also screwed up mail, but after about t

  • How to use same CMOD code for 2 Diff. variableS?

    Experts, I have written some code under CMOD. Now, i have another query which i could use the same CODE, but diff. variable ( In the CMOD code, i am passing one User input variable ). For the 2nd query i have to pass different User Input variable. Ho

  • How do I configure the mixed signal graph property node to set the plot names

    I have a mixed signal graph displaying digital and analog data in two groups. I would like to programmatically set the names of individual plots i.e. rather that the digital graph displaying 'Digital 0->Line 0'  I would like to set it to 'Signal 1'  

  • Photoshop Camera Raw Version to Process Nikon 1AW1 NEF Files

    I am currently running Photoshop CS6 for Macintosh version 13.0.4 and Camera RAW version 7.4.0.137 and cannot process the raw (NEF) files produced by the new Nikon 1AW1 camera.  I have shot test photos with the camera prior to purchase, but can't pro

  • Importing files from Canon Vixia HF20 without power adaptor.

    Hi There, I recorded videos on my Canon Vixia HF20 and no longer have the power adaptor for the camera. Everytime I go to import the videos into Final Cut Express, the camera says 'connect to power adaptor'. Is there a way to get the files from the c