2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Move fast_glob description to where it belongs in sorted order

This commit is contained in:
Todd C. Miller
2009-09-06 16:30:50 +00:00
parent 927e98e29f
commit 95c41c8973

View File

@@ -607,6 +607,18 @@ run by root with the I<-V> option. If the I<secure_path> option
is set, its value will be used for the C<PATH> environment variable.
This flag is I<on> by default.
=item fast_glob
Normally, B<sudo> uses the L<glob(3)> function to do shell-style
globbing when matching pathnames. However, since it accesses the
file system, L<glob(3)> can take a long time to complete for some
patterns, especially when the pattern references a network file
system that is mounted on demand (automounted). The I<fast_glob>
option causes B<sudo> to use the L<fnmatch(3)> function, which does
not access the file system to do its matching. The disadvantage
of I<fast_glob> is that it is unable to match relative pathnames
such as F<./ls> or F<../bin/ls>. This flag is I<off> by default.
=item fqdn
Set this flag if you want to put fully qualified hostnames in the
@@ -799,18 +811,6 @@ shell is determined by the C<SHELL> environment variable if it is
set, falling back on the shell listed in the invoking user's
/etc/passwd entry if not). This flag is I<off> by default.
=item fast_glob
Normally, B<sudo> uses the L<glob(3)> function to do shell-style
globbing when matching pathnames. However, since it accesses the
file system, L<glob(3)> can take a long time to complete for some
patterns, especially when the pattern references a network file
system that is mounted on demand (automounted). The I<fast_glob>
option causes B<sudo> to use the L<fnmatch(3)> function, which does
not access the file system to do its matching. The disadvantage
of I<fast_glob> is that it is unable to match relative pathnames
such as F<./ls> or F<../bin/ls>. This flag is I<off> by default.
=item stay_setuid
Normally, when B<sudo> executes a command the real and effective