From 82fa84d18ccf844c04ad76e79c4235b9a1325d10 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 22 Mar 2005 15:11:09 +0000 Subject: when calling adduser, don't forget {realname} or {home} if we have them (bugzilla #13805) --- perl-install/any.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 6da456130..5f2fe3511 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -71,6 +71,8 @@ sub create_user { 'adduser', '-p', authentication::user_crypted_passwd($u, $isMD5), if_($uid, '-u', $uid), if_($gid, '-g', $gid), + if_($u->{realname}, '-c', $u->{realname}), + if_($u->{home}, '-d', $u->{home}), if_($u->{shell}, '-s', $u->{shell}), $u->{name}); } -- cgit v1.2.1