summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-12 11:39:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-12 11:39:09 +0000
commit212c6f3f817a03ef6e18d991aa6d821902a04d55 (patch)
tree072434e2ac13a3078e770a5fa44bd0a5191fb3e7 /perl-install/any.pm
parentbb612c87e63aacd91d1140865fe88e9028ae0b13 (diff)
downloaddrakx-212c6f3f817a03ef6e18d991aa6d821902a04d55.tar
drakx-212c6f3f817a03ef6e18d991aa6d821902a04d55.tar.gz
drakx-212c6f3f817a03ef6e18d991aa6d821902a04d55.tar.bz2
drakx-212c6f3f817a03ef6e18d991aa6d821902a04d55.tar.xz
drakx-212c6f3f817a03ef6e18d991aa6d821902a04d55.zip
add user specific shell support in create_user (Nicolas Planel)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index c4a903e6f..9207245f2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -76,6 +76,7 @@ sub create_user {
'adduser',
'-p', authentication::user_crypted_passwd($u, $isMD5),
if_($uid, '-u', $uid), if_($gid, '-g', $gid),
+ if_($u->{shell}, '-s', $u->{shell}),
$u->{name});
}