- This topic has 5 replies, 3 voices, and was last updated 13 years, 8 months ago by
Allister Banks.
-
AuthorPosts
-
July 31, 2011 at 10:28 pm #381011
tristan_mason
ParticipantIve been busy with other stuff (Munki mainly) but it seems as though I can’t run instaDMG on a machine running Lion. Is that correct? I’ve no intention of updating my machine that builds my images but was trying to run instaDMG on a Lion machine and it wasn’t too happy. I’m bot really too concerned at this point but just looking for a yes or no. By the time we come to deploy Lion i’m sure things will have worked themselves out.
Tris
August 1, 2011 at 1:41 pm #381014Allister Banks
ParticipantWatch this space.
Allister
August 1, 2011 at 10:28 pm #381022tristan_mason
Participanti’ll keep watching !-)
but it’s a no t the question?
tris
August 2, 2011 at 2:33 pm #381024Allister Banks
ParticipantSorry, not trying to be mysterious, the newest svn check-in allows you to run instadmg.bash on lion. InstaUp2date is taking longer than I’d like due to python differences etc. If you run instadmg.bash the legacy way and use the -s flag to turn off jailing of the installer daemons things will work. There’s a new createUser you’d need to take advantage of, here’s a preview:
[url]http://dl.dropbox.com/u/3310207/CreateLionUser-test4.dmg[/url]
MagerValp has said he’d allow bundling it in the svn repo, but I’m working on code to make it easier to use and should be done soon.Allister
August 12, 2011 at 7:41 pm #381091hansen_m
ParticipantIt would be nice if CreateLionUser.pkg could also “kickstart” and enable access for ssh (Remote Login), similar to what it does with ARD…
Not in Python yet but so far this works…
dscl . merge /Groups/com.apple.access_ssh GroupMembership $USER
dscl . merge /Groups/com.apple.access_ssh GroupMembers `dscl . read /Users/$USER GeneratedUID | awk ‘{print $2}’`
Or, better option…
dseditgroup -o edit -a $USER -t user com.apple.access_ssh
Only issue is it will fail if the ds node doesn’t exist, and I’m not quite sure how to create it. In terms of the GUI the action of clicking “Allow access for: Only these users:” flips the switch and creates > /var/db/dslocal/nodes/Default/groups/com.apple.access_ssh.plist
Using `systemsetup` would be a better option but unfortunately it only includes the following…
Usage: systemsetup -getremotelogin
Display whether remote login is on or off.Usage: systemsetup -setremotelogin
Set remote login to eitheror . Use “systemsetup -f -setremotelogin off” to suppress prompting when turning remote login off. August 12, 2011 at 9:08 pm #381092Allister Banks
ParticipantI tested creating the group in dscl to be able to fulfill that request, and integrated it in this ‘fork’ of the original createUser:
[url]https://github.com/arubdesu/One-Stop-LocalMCX/blob/master/createUser2010.pkg/Contents/Resources/postflight[/url]I’ll look at integrating it with the one in svn, along with a gui config tool shared with me…
Allister
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed