mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-27 10:50:23 +08:00
4b5d342b47
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
14 lines
293 B
Bash
14 lines
293 B
Bash
#!/bin/sh
|
|
|
|
groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid
|
|
if ! grep -q libuuid /etc/passwd; then
|
|
useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid
|
|
fi
|
|
mkdir -p /var/lib/libuuid
|
|
chown libuuid:libuuid /var/lib/libuuid
|
|
chmod 2775 /var/lib/libuuid
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|