diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2007-10-14 19:05:13 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2007-10-14 19:05:13 +0200 |
commit | cac136bef9c6017860926d6975230af65d244584 (patch) | |
tree | ec77f5220a25772fc291c140289e8adc7ff8cbbe /Users | |
parent | 299a21ea7eb69bbcbc7d6de883ac4b2f6c75e1e3 (diff) |
Also make redhat derived distros use useradd
Diffstat (limited to 'Users')
-rw-r--r-- | Users/Users.pm | 3 |
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 |