#!/bin/sh
# Copyright (C) 2014 Jolla Oy
# Contact: Philippe De Swert <philippe.deswert@jollamobile.com>
#
# This fixes the group for the nobody user
# Contributes: JB#15306

sed -i s/:99:99:/:99:9999:/ /etc/passwd
find / -xdev -group 99 -exec chgrp -h 9999 {} +
find /home -xdev -group 99 -exec chgrp -h 9999 {} +
