builtin -> built-in; Jason McIntyre

This commit is contained in:
Todd C. Miller
2003-04-13 19:48:15 +00:00
parent 8d146fae79
commit e6ec7f3374
4 changed files with 7 additions and 7 deletions

View File

@@ -149,9 +149,9 @@ Q) When I run "visudo" it says "sudoers file busy, try again later."
A) Someone else is currently editing the sudoers file with visudo.
Q) When I try to use "cd" with sudo it says "cd: command not found".
A) "cd" is a shell builtin, you can't run it as a command since
a child process (sudo) cannot affect the current working directory
of the parent (your shell).
A) "cd" is a shell built-in command, you can't run it as a command
since a child process (sudo) cannot affect the current working
directory of the parent (your shell).
Q) When I try to use "cd" with sudo the command completes without
errors but nothing happens.

View File

@@ -404,7 +404,7 @@
/* The user sudo should run commands as by default. */
#undef RUNAS_DEFAULT
/* Define to override the user's path with a builtin one. */
/* Define to override the user's path with a built-in one. */
#undef SECURE_PATH
/* Define to send mail when the user is not allowed to run a command. */

2
configure vendored
View File

@@ -926,7 +926,7 @@ Optional Packages:
--with-csops-insults include CSOps insults
--with-hal-insults include 2001-like insults
--with-goons-insults include the insults from the "Goon Show"
--with-secure-path override the user's path with a builtin one
--with-secure-path override the user's path with a built-in one
--without-interfaces don't try to read the ip addr of ether interfaces
--with-stow properly handle GNU stow packaging

View File

@@ -911,9 +911,9 @@ if test "$insults" = "on"; then
fi
AC_MSG_CHECKING(whether to override the user's path)
AC_ARG_WITH(secure-path, [ --with-secure-path override the user's path with a builtin one],
AC_ARG_WITH(secure-path, [ --with-secure-path override the user's path with a built-in one],
[case $with_secure_path in
yes) AC_DEFINE_UNQUOTED(SECURE_PATH, "/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc", [Define to override the user's path with a builtin one.])
yes) AC_DEFINE_UNQUOTED(SECURE_PATH, "/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc", [Define to override the user's path with a built-in one.])
AC_MSG_RESULT([:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc])
;;
no) AC_MSG_RESULT(no)