Forum Replies Created

Viewing 15 posts - 16 through 30 (of 48 total)
  • Author
    Posts
  • in reply to: CreateUser and ClearReg.pkg #378971
    sgstuart
    Participant

    At least for your testing purposes to begin with, try something pretty standard with only letters and numbers just to get it to work, then add special characters in case that is what is causing the problems.

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378968
    sgstuart
    Participant

    If you put the ” ” around it like you did the “‘s I believe would be part of the password , which should be easy enough to test. I am not sure off hand what characters are and are not allowed to be used in a password though. I am assuming that “‘s can be.

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378964
    sgstuart
    Participant

    Hi Brian,
    hmm, I would expect createUser to work fine on 10.6.4, but I am not running 10.6.4 yet, or trying to create a 10.6.4 image yet. I am all 10.6.3 at this time. Next week I will probably be testing 10.6.4, but not sure. I know that it appears to have always been recommended to run the host machine in the same OS level that you are building, I personally am not sure of the reasonings, but I do know that when my host machine was at 10.6.2 it would not allow me to create a 10.6.3 image build. However, once I upgraded the host to 10.6.3 it worked great.

    Thanks,
    Steven Stuart

    in reply to: createUser.pkg & ARD #378960
    sgstuart
    Participant

    Hi all,
    That try failed as well. I will try to set it so that all Users have access, and then thru ARD run a command to do the specifiedUsers.

    Thanks,
    Steven Stuart

    in reply to: createUser how do I run it?? #378959
    sgstuart
    Participant

    Hi nobrainer,
    I would put the under the “System Settings” not “3rd party” and I would put the clearReg first, and then the createUser. See how just doing that works for you.

    Also if what you pasted below is directly out of your catalog, you appear to have a space instead of a tab in between each section.

    you pasted

    Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0d
    Clear Registration clearReg.pkg sha1:b0ba0f6bfd26956562e286bbcdfa8f78dd3722eb

    should be

    Clear Registration clearReg.pkg sha1:b0ba0f6bfd26956562e286bbcdfa8f78dd3722eb
    Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0d

    Which could explain the error
    Exception: Error in config file

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378958
    sgstuart
    Participant

    [QUOTE][u]Quote by: nobrainer[/u][p]I did have it uncommented, and I had the password set between the ” “, but it didn’t use it, it ignored it and made it “password”. I’m trying again with our password in there w/o the ” ” stuff… if that doesn’t work – I will try the passhash…Looking at the script, it looks like it prompts me for setting the PW? Will it know what account to associate it with?

    [/p][/QUOTE]

    Hi nobrainer,
    the password hash would only be associated to the one user in that package and each package can have its own password_hash. I have been using this part flawlessly and it is pretty slick. It did take me a little while (2 tries) to understand how to setup the hash initially.

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378957
    sgstuart
    Participant

    Hi Brian,
    It looks like the way you have yours setup, it is creating the Mac_User first, then Mac_Admin, and then ARD_User. Assuming that you are not specifing the UID, your Mac_Admin user would not have the recommended UID of 501. All in all the UID does not really matter, so I am not too worried about that. However, the first ID that is created usually has the extra special privileges and usually needs admin access.
    So my recommendation would be putthe Mac_Admin package first.

    Hi NoBrainer,
    The ( and the $ both could have problems with in scripts in general. I would recommend using the password_hash method, and commenting the password line out in the USERDATA section.

    For the background, I think you would have to create a LaunchDaemon, as it would require the com.apple.desktop to exist for the user already. The command to change it on command line is
    defaults write com.apple.desktop Background ‘{default = {ImageFilePath = “/path/to/picture”; };}’

    There is a command you can use for the loginwindow background

    defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture ‘/path/to/picture’

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378955
    sgstuart
    Participant

    Hey guys,
    If you want to use the password in encrypted form (password_hash), which I would recommend. Then you would want to leave the password section alone and leave it commented out. If you do uncomment the password line (removing the # in front of password), then it will not look at the password_hash, and will use the password that is in between the “”, so if you uncomment that line and delete everything in between the ” “, then your password most likely is blank, but I am not sure if the system would accept that, so I do not know what the end result would truly be.

    On the GID and UID, as long as you are only creating one user, and that being the admin user, you would leave those alone. If you are going to be making multiple users (you would copy the createUser.pkg and edit each one for each user), you will only uncomment the UID, if you want to specify, and make sure a certain User ID gets a specific UID or number. The GID is for group ID, the default GID = 20, means the group staff. If you want the created user to be part of a different group then uncomment it and change it.

    The only part I currently have seen problems with is the kickstart part at the end of the postflight, which is commented out by default. I am in the process of testing another variation of it, and will update the other posting on this.

    Thanks,
    Steven Stuart

    in reply to: createUser.pkg & ARD #378952
    sgstuart
    Participant

    Hi Rusty,
    Thank you again. Based on how you said it I assumed that you were just running them from the terminal. I had been testing things that way myself, and had problems as well. I found out thru those testings that if you have System Preferences open the items for whatever reason do not take. So when the command lines are run the system prefs need to be closed. I will keep trying.

    I had tried one other variation last night on my way out, and just tested that, it did not work either. So I am going to try your suggestion now.

    I am placing the first line of yours without the sudo (as I do not think it is needed in the createUser.pkg). Then putting a sleep 5 and then keeping the line I had in their to begin with. In about 75 minutes that should be done, then I need about another 20 min to push it to an external firewire device and then boot to that. device.
    I am feeling good about it, I did manually test that sequence successfully as well, but apparently scripting it appears to be slightly different at times, in this case I do not think there will be a difference, and I will recommend a change to those lines. They are commented out by default.

    Thanks,
    Steven Stuart

    in reply to: createUser.pkg & ARD #378946
    sgstuart
    Participant

    Hi Rusty,
    Thank you very much for your response. Based on you saying the first couple of times it did not take, are you doing this in the build with the createUser script or are you doing this manually at the terminal? When I do certain things at the terminal I have got a 100% success rate, but I will not be able to run these at the terminal if I do not have access to them thru ARD.

    Also based on your suggestions, if they are in the createUser script does that mean I should add the sudo to the front? I have put a sleep 5 in between the two I have decided to use in the script, but not sure if that is long enough or needed. I do have the 2nd command first though, and the 1st command 2nd in mine, but I have the restart command on both as well.

    Thanks,
    Steven Stuart

    in reply to: iLifeSupport9.0.4 #378930
    sgstuart
    Participant

    Hi all,
    I am using rev300, and I am making a 10.6.3 image. I am using the iLifeSupport904.dmg, but I have downloaded this to my machine locally, and I did this a couple of months ago. I have never had a failure on this piece as of yet.

    Thanks,
    Steven Stuart

    in reply to: CreateUser and ClearReg.pkg #378928
    sgstuart
    Participant

    Hi Brian and nobrainer,
    Both of these are working for the most part for me. I will be creating a new Topic for my 1 issue.
    If you are using the InstaUp2Date. You should place both packages into the InastallerFiles/InstaUp2DatePackages folder. In the Catalog itself, you want to have just the package name (no path) clearReg.pkg and createUser.pkg. You will have any type of name before that then a tab, and then after it a tab and then the sha1 number.

    I am assuming that you understand how to edit the createUser.pkg contents. I can help there too if needed, except for the 1 part I will be asking in the next topic.

    Thanks,
    Steven Stuart

    sgstuart
    Participant

    Hi Nate,
    Can you let us know what the drive speeds of each of your HD’s are? Also your 11:42 & 1:07 posts seem to contradict each other on which drive was giving the 30 min speed?

    Cutting the time in half is really nice, and I will probably try to do that.

    Also, if we do this from a laptop, would Firewire 400 or firewire 800 give any speed increase? I understand already USB2 would not so will not even attempt that.

    Thanks,
    Steven Stuart

    sgstuart
    Participant

    Hi All,
    I solved this by running SIU again, and building a default NetRestore. So apparently I selected some incorrect settings in the Customize section that did not allow it to work.

    Thanks,
    Steven Stuart

    in reply to: CS5 + NEW AdobeEnterpriseDeployment + InstaDMG #378797
    sgstuart
    Participant

    Hi all,
    To go along with the “it is not a true .pkg”. I am finding that I can not copy the file off the hard drive that it was created on. I have done a ls -l on all of my Adobe AAMEE created packages and they all show up as “directories” not files. So I am wondering if that is the reason, but not sure. Because it can copy some of it. However, I do find it insteresting that it thinks they are directories. Anyone else seeing that?

    To answer the question, yes, I had read all of the AAMEE documentation as well, diferent versions of it as well, because I noticed a major/massive change in the documentation over last weekend (it could have happened late on Friday).

    Also Thru ARD these packages do seem to install correctly. However, we have found out that the uninstall package that is created as well, does not uninstall everything and leaves over 176MB’s of stuff. Including items under Utilities.

    Thanks,
    Steven Stuart

Viewing 15 posts - 16 through 30 (of 48 total)