summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2007-10-14 19:05:13 +0200
committerCarlos Garnacho <carlosg@gnome.org>2007-10-14 19:05:13 +0200
commitcac136bef9c6017860926d6975230af65d244584 (patch)
treeec77f5220a25772fc291c140289e8adc7ff8cbbe
parent299a21ea7eb69bbcbc7d6de883ac4b2f6c75e1e3 (diff)
Also make redhat derived distros use useradd
-rw-r--r--Users/Users.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Users/Users.pm b/Users/Users.pm
index 09464c3..6bc5100 100644
--- a/Users/Users.pm
+++ b/Users/Users.pm
@@ -579,7 +579,8 @@ sub add_user
if ($cmd_adduser &&
$Utils::Backend::tool{"platform"} !~ /^slackware/ &&
- $Utils::Backend::tool{"platform"} !~ /^archlinux/)
+ $Utils::Backend::tool{"platform"} !~ /^archlinux/ &&
+ $Utils::Backend::tool{"platform"} !~ /^redhat/)
{
# use adduser if available and valid (slackware one is b0rk)
# set empty gecos fields and password, they will be filled out later