diff options
author | ivan <ivan> | 2005-11-17 15:56:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-11-17 15:56:18 +0000 |
commit | a9997b03e204c6b81967c566fe7d6b4d1f5f67e8 (patch) | |
tree | cc10e19fcec08f9d5a14fb3193bdd63b4446d275 /FS/FS/part_export/shellcommands.pm | |
parent | 06d42092410eeb14e723d762237a1638133253a3 (diff) |
make variable description more consistant wrt vars that are already shell-quoted
Diffstat (limited to 'FS/FS/part_export/shellcommands.pm')
-rw-r--r-- | FS/FS/part_export/shellcommands.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index 2d5356f..73f6ede 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -38,7 +38,7 @@ tie my %options, 'Tie::IxHash', type =>'textarea', default=>'', }, - 'usermod_pwonly' => { label=>'Disallow username changes', + 'usermod_pwonly' => { label=>'Disallow username, domain, uid, gid, dir and RADIUS group changes', type =>'checkbox', }, 'suspend' => { label=>'Suspension command', @@ -148,8 +148,8 @@ old_ for replace operations): <UL> <LI><code>$username</code> <LI><code>$_password</code> - <LI><code>$quoted_password</code> - unencrypted password quoted for the shell - <LI><code>$crypt_password</code> - encrypted password (quoted for the shell) + <LI><code>$quoted_password</code> - unencrypted password, already quoted for the shell (do not add additional quotes) + <LI><code>$crypt_password</code> - encrypted password, already quoted for the shell (do not add additional quotes) <LI><code>$uid</code> <LI><code>$gid</code> <LI><code>$finger</code> - GECOS, already quoted for the shell (do not add additional quotes) @@ -281,6 +281,9 @@ sub _export_replace { if ( $old_uid != $new_uid ) { $error ||= "can't change uid"; } + if ( $old_gid != $new_gid ) { + $error ||= "can't change gid"; + } if ( $old_dir ne $new_dir ) { $error ||= "can't change dir"; } |