History | View | Annotate | Download (5.7 kB)
Rename snf-passtohash.py to hashpwd.py
Fix a bug in ChagePassword task
In some cases the task removed some shadow/master.passwd entries byaccident because the grep pattern it used was more general than itshould be
Add a new PASSWORD_HASHING_METHOD image property
This can be used to override the hashing function ChangePasswordtask uses. By default for linux and freebsd images, sha512 is used.For OpenBSD blowfish and for NetBSD sha1.
Add support for sha1 hashing method
This is the default password hashing method for NetBSD.
Add support for Blowfish passwd hashing algorithm
This is not supported by the Linux version of crypt and is neededfor NetBSD and OpenBSD. Add a new python-bcrypt packet in the helperthat implements the OpenBSD Blowfish password hashing algorithm.
Define {open,net}bsd_shadow vars in ChangePassword
Those variables are needed to make ChangePassword work
Add partial support for NetBSD and OpenBSD
Resizing NetBSD and OpenBSD partitions, as well as FFS filesystemsdoes not work for now
Add support for FreeBSD
File injection isn't implemented yet
Code cleanup
Make sure local variables are defined as local before they get assigned.Having variables get defined and assigned in one line like this:
local var=foo
can sometimes cause problems. For example, this line:
local var=$(false)
will return 0 and the script will not fail if set -x is defined.
Fix minor typo in ChangePassword task
Fix the error messages in helper
In ChangePassword task check if the users exist
Check if the users stated in the USERS image property do actuallyexist.
Drop the `user' password reset rule
Drop the rule that resets the password for user with username `user'if the USERS image property is missing and the system is detectedto be a Fedora or a Ubuntu Linux system.
Make sure EnforcePersonality runs last
When a users inject a file in an image that already exists,we want to make sure that this file is not altered by any other task.So, the EnforcePersonality task, is the last task that should runbefore the image is unmounted.
cleanup! cleanup! cleanup! cleanup!
Add start-task and finish-task events
This commit extendes the monitoring mechanism to include events fromsnf-image-helper.
Really minor cleanup
Remove a redundant echo.
Move the task exclusion check away from common.sh
Not all tasks, should be able to be excluded. If MountImage,UnmountImage and InstallUnattanded are never excluded, then the systemdeployment can't break. If you don't want to mount the image or installUnattend.xml then you probably want to use EXCLUDE_ALL_TASKS, since all...
Make ChangePassword task always respect USERS var
Only the users defined by SNF_IMAGE_PROPERTY_USERS var will have theirpasswords changed by ChangePassword task.
Fix copyright and license notices throughout
Fix a Windows security risk
The password is applied in oobeSystem and RDP is enabled in a previouspass. I Also did a cleanup on the windows tasks.
Minor fixes in helper's tasks
Support USERS property in ChangePassword task
Add image-properties support in helper
Add diskdump support in the helper (part 2)
Fix a typo in a var name in ChangePassword task
This has an affect on fedora and ubuntu instances, where user passwordis not changed. Only the root one.
Fix typos, remove reference to $windows_support
Mass cleanup and some bug fixing
Fix a path in 50ChangePassword script
50ChangePassword was looking in commondir instead of scriptsdir forsnf-passtohash.py
Rename helper to snf-image-helper
Also add Changelog and COPYING info