aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2010-05-29 11:08:20 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2010-05-29 11:08:20 +0000
commit400b97aa1edb9de76e6cbe74d589d52647caf9aa (patch)
tree84e27a5f48e65cae5ed34de34ac9a40ac5bd66b0
parent2e50797e740a7c3161365148b4e8ad070089f5bb (diff)
downloadrpm-helper-400b97aa1edb9de76e6cbe74d589d52647caf9aa.tar
rpm-helper-400b97aa1edb9de76e6cbe74d589d52647caf9aa.tar.gz
rpm-helper-400b97aa1edb9de76e6cbe74d589d52647caf9aa.tar.bz2
rpm-helper-400b97aa1edb9de76e6cbe74d589d52647caf9aa.tar.xz
rpm-helper-400b97aa1edb9de76e6cbe74d589d52647caf9aa.zip
force group creation, whatever /etc/login.defs says, to ensure expected group ownership is set (fix #59327)
-rwxr-xr-xadd-user2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-user b/add-user
index 6504bbe..ac54186 100755
--- a/add-user
+++ b/add-user
@@ -22,7 +22,7 @@ dir=$4 # home directory
shell=$5 # shell
if ! getent passwd $name > /dev/null 2>&1; then
- /usr/sbin/useradd -r -M \
+ /usr/sbin/useradd -r -M -U \
-s $shell -d $dir -c "system user for $pkg" $name > /dev/null
fi