2009-03-12 10:16:08 +00:00
|
|
|
#
|
2012-10-05 13:25:51 +00:00
|
|
|
# This script enables shadow password and groups.
|
2009-01-27 18:28:31 +00:00
|
|
|
|
2009-04-08 01:24:02 +00:00
|
|
|
case "${ACTION}" in
|
2009-02-03 16:32:51 +00:00
|
|
|
post)
|
2012-10-05 13:25:51 +00:00
|
|
|
if [ "$(id -u)" -eq 0 ]; then
|
2009-04-08 01:24:02 +00:00
|
|
|
pwconv && grpconv
|
2009-01-27 18:28:31 +00:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|