Statistics
| Branch: | Tag: | Revision:

root / snf-image-helper / tasks / 50ChangePassword.in @ 287c1028

History | View | Annotate | Download (5.7 kB)

# Date Author Comment
0925f23a 11/05/2013 01:23 pm Nikos Skalkotos

Rename snf-passtohash.py to hashpwd.py

23f62254 11/05/2013 12:28 pm Nikos Skalkotos

Fix a bug in ChagePassword task

In some cases the task removed some shadow/master.passwd entries by
accident because the grep pattern it used was more general than it
should be

f3bc7bef 11/01/2013 01:41 pm Nikos Skalkotos

Add a new PASSWORD_HASHING_METHOD image property

This can be used to override the hashing function ChangePassword
task uses. By default for linux and freebsd images, sha512 is used.
For OpenBSD blowfish and for NetBSD sha1.

d1628244 10/31/2013 04:43 pm Nikos Skalkotos

Add support for sha1 hashing method

This is the default password hashing method for NetBSD.

b0e6727c 10/30/2013 06:21 pm Nikos Skalkotos

Add support for Blowfish passwd hashing algorithm

This is not supported by the Linux version of crypt and is needed
for NetBSD and OpenBSD. Add a new python-bcrypt packet in the helper
that implements the OpenBSD Blowfish password hashing algorithm.

b3c48174 10/30/2013 04:55 pm Nikos Skalkotos

Define {open,net}bsd_shadow vars in ChangePassword

Those variables are needed to make ChangePassword work

84d01e3e 10/29/2013 03:32 pm Nikos Skalkotos

Add partial support for NetBSD and OpenBSD

Resizing NetBSD and OpenBSD partitions, as well as FFS filesystems
does not work for now

b1cb73f2 04/18/2013 05:36 pm Nikos Skalkotos

Add support for FreeBSD

File injection isn't implemented yet

995a47c9 12/02/2012 11:14 am Nikos Skalkotos

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.

0c541fe8 11/13/2012 03:16 pm Nikos Skalkotos

Fix minor typo in ChangePassword task

90db2151 11/13/2012 03:16 pm Nikos Skalkotos

Fix the error messages in helper

f44a30e6 10/11/2012 05:35 pm Nikos Skalkotos

In ChangePassword task check if the users exist

Check if the users stated in the USERS image property do actually
exist.

f55d6d0c 09/17/2012 06:02 pm Nikos Skalkotos

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 detected
to be a Fedora or a Ubuntu Linux system.

c50358a6 09/06/2012 01:10 pm Nikos Skalkotos

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 run
before the image is unmounted.

a50a2bff 05/29/2012 06:37 pm Nikos Skalkotos

cleanup! cleanup! cleanup! cleanup!

  • Change the monitor message type names once again (hope this is
    the final version)
  • Pass -u (unbuffered) to sed to retain the actual output order in
    the log file
  • Fix a bug in helper code where the starting `{' was missing from...
2a0ab295 05/24/2012 05:08 pm Nikos Skalkotos

Add start-task and finish-task events

This commit extendes the monitoring mechanism to include events from
snf-image-helper.

a2c82a06 12/14/2011 03:39 pm Nikos Skalkotos

Really minor cleanup

Remove a redundant echo.

2a0c492d 12/13/2011 01:52 pm Nikos Skalkotos

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 system
deployment can't break. If you don't want to mount the image or install
Unattend.xml then you probably want to use EXCLUDE_ALL_TASKS, since all...

9912db89 11/21/2011 04:55 pm Nikos Skalkotos

Make ChangePassword task always respect USERS var

Only the users defined by SNF_IMAGE_PROPERTY_USERS var will have their
passwords changed by ChangePassword task.

7e5d635b 11/18/2011 03:48 pm Nikos Skalkotos

Fix copyright and license notices throughout

6196f457 11/16/2011 02:40 pm Nikos Skalkotos

Fix a Windows security risk

The password is applied in oobeSystem and RDP is enabled in a previous
pass. I Also did a cleanup on the windows tasks.

de7269cd 11/11/2011 01:04 pm Nikos Skalkotos

Minor fixes in helper's tasks

f884ffac 11/09/2011 04:57 pm Nikos Skalkotos

Support USERS property in ChangePassword task

473f4fa5 11/09/2011 03:50 pm Nikos Skalkotos

Add image-properties support in helper

f6e23601 11/04/2011 05:39 pm Nikos Skalkotos

Add diskdump support in the helper (part 2)

7393e7e4 10/14/2011 11:41 am Nikos Skalkotos

Fix a typo in a var name in ChangePassword task

This has an affect on fedora and ubuntu instances, where user password
is not changed. Only the root one.

6a95db10 10/10/2011 03:42 pm Vangelis Koukis

Fix typos, remove reference to $windows_support

bad5ca1f 10/10/2011 09:43 am Nikos Skalkotos

Mass cleanup and some bug fixing

  • Make all "local" variables lowercase.
  • Move HELPER_EXTRA_PKGS from snf-image-update-helper to common.sh
  • Protect all variables from spaces and other special chars
  • Remove extra X's from mktemp template names (only 6 are supported)....
c6c35822 10/06/2011 02:35 pm Nikos Skalkotos

Fix a path in 50ChangePassword script

50ChangePassword was looking in commondir instead of scriptsdir for
snf-passtohash.py

aa4fc6bb 10/05/2011 01:45 pm Constantinos Venetsanopoulos

Rename helper to snf-image-helper

Also add Changelog and COPYING info