forked from grahamgilbert/autopkg-overrides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreateUserPkg.munki.recipe
43 lines (41 loc) · 1.76 KB
/
CreateUserPkg.munki.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Identifier</key>
<string>com.grahamgilbert.munki.CreateUserPkg</string>
<key>Input</key>
<dict>
<key>APP_DESTINATION</key>
<string>/Applications/Utilities</string>
<key>MUNKI_REPO_SUBDIR</key>
<string>apps/CreateUserPkg</string>
<key>NAME</key>
<string>CreateUserPkg</string>
<key>pkginfo</key>
<dict>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string>This utility creates packages that create local user accounts when installed.
The packages can create users on 10.5-10.8, and they are compatible with all workflows that can install standard installer pkgs.
Packages created using this utility encrypts the password as a salted SHA1 hash, which is how 10.5 and 10.6 normally stores it.
Using a dictionary based attack they are reasonably easy to crack on modern machines, so make sure you pick a good, strong password.
In 10.7 and up this is converted to PBKDF2 upon first login, which is much harder to crack, but the SHA1 hash can still be extracted from the package.
If you enable automatic login the password is stored in a kcpassword file, which is merely obfuscated and not encrypted - extracting the password (no matter how strong) is trivial.</string>
<key>display_name</key>
<string>CreateUserPkg - Create packages to deploy Mac OS X user accounts</string>
<key>name</key>
<string>%NAME%</string>
<key>unattended_install</key>
<true/>
<key>category</key>
<string>Administration</string>
</dict>
</dict>
<key>ParentRecipe</key>
<string>com.github.jleggat.CreateUserPkg.munki</string>
</dict>
</plist>