From 6549258cef65ee0239e052612aa99d31f8c0646c Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 19 May 2005 14:10:03 +0000 Subject: [PATCH] A group number must refer to an already existing group - so add manually it if you want to define a set of static gids or something, default is just going to cause headaches --- FS/FS/part_export/shellcommands.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index a3edd74a1..2d5356f26 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -10,7 +10,7 @@ use FS::part_export; tie my %options, 'Tie::IxHash', 'user' => { label=>'Remote username', default=>'root' }, 'useradd' => { label=>'Insert command', - default=>'useradd -c $finger -d $dir -m -s $shell -u $uid -g $gid -p $crypt_password $username' + default=>'useradd -c $finger -d $dir -m -s $shell -u $uid -p $crypt_password $username' #default=>'cp -pr /etc/skel $dir; chown -R $uid.$gid $dir' }, 'useradd_stdin' => { label=>'Insert command STDIN', @@ -75,7 +75,7 @@ running will not accept a domain as a parameter. You will need to