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