Merge branch 'master' into __group

This commit is contained in:
Jake Guffey 2012-06-25 13:32:19 -04:00
commit 04f4a5ae5b
2 changed files with 9 additions and 1 deletions

View file

@ -22,6 +22,13 @@
#
name=$__object_id
os="$($__explorer/os)"
# Default to using shadow passwords
database="shadow"
getent shadow "$name" || true
if [ "$os" = "freebsd" ]; then
database="passwd"
fi
getent "$database" "$name" || true

View file

@ -7,6 +7,7 @@ Changelog
2.0.14:
* Bugfix Type: __jail: Use correct variable (Jake Guffey)
* Change Type: __jail: Parameter jailbase now optional (Jake Guffey)
* Bugfix Type: __user: Use passwd database on FreeBSD (Jake Guffey)
* Bugfix Type: __start_on_boot: Do not change parameters
* Feature __user: Added support for BSDs (Sébastien Gross)
* New Type: __package_zypper