Theodore Ts'o | 740837d | 2007-12-16 17:21:38 -0500 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Theodore Ts'o | 351db0b | 2008-01-14 10:38:09 -0500 | [diff] [blame^] | 3 | set -e |
Theodore Ts'o | 46e770b | 2007-12-31 22:22:46 -0500 | [diff] [blame] | 4 | groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid |
| 5 | if ! grep -q libuuid /etc/passwd; then |
| 6 | useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid |
| 7 | fi |
Theodore Ts'o | 740837d | 2007-12-16 17:21:38 -0500 | [diff] [blame] | 8 | chown libuuid:libuuid /usr/sbin/uuidd |
| 9 | chmod 6755 /usr/sbin/uuidd |
Theodore Ts'o | 4b5d342 | 2008-01-01 02:20:07 -0500 | [diff] [blame] | 10 | |
| 11 | #DEBHELPER# |
| 12 | |
| 13 | exit 0 |