diff options
author | jdp <jdp@FreeBSD.org> | 2000-08-07 19:12:04 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2000-08-07 19:12:04 +0000 |
commit | daf512cf554964046743c93a27d735a1807cabf3 (patch) | |
tree | f2b8a8eac5f24101b2eed0ae33869b3532cf8114 /sbin/ldconfig/ldconfig.8 | |
parent | 69f47a0a2a9ec3b664f30e4afa0fa1bdebaa4773 (diff) | |
download | FreeBSD-src-daf512cf554964046743c93a27d735a1807cabf3.zip FreeBSD-src-daf512cf554964046743c93a27d735a1807cabf3.tar.gz |
Add a "-i" option ("insecure") which disables the checks for
root ownership, etc. I will soon commit a companion knob for
"/etc/rc.conf".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
Diffstat (limited to 'sbin/ldconfig/ldconfig.8')
-rw-r--r-- | sbin/ldconfig/ldconfig.8 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbin/ldconfig/ldconfig.8 b/sbin/ldconfig/ldconfig.8 index f008d90..775f5d4 100644 --- a/sbin/ldconfig/ldconfig.8 +++ b/sbin/ldconfig/ldconfig.8 @@ -38,7 +38,7 @@ .Sh SYNOPSIS .Nm ldconfig .Op Fl aout | Fl elf -.Op Fl Rmrsv +.Op Fl Rimrsv .Op Fl f Ar hints_file .Op Ar directory | file Ar ... .Sh DESCRIPTION @@ -62,7 +62,8 @@ line. Blank lines and lines starting with the comment character are ignored. .Pp For security reasons, directories which are world-writable or which -are not owned by root produce warning messages and are skipped. +are not owned by root produce warning messages and are skipped, unless +the -i option is present. .Pp The shared libraries which are found will be automatically available for loading if needed by the program being prepared for execution. @@ -104,6 +105,8 @@ This is the default action when no parameters are given. .It Fl f Ar hints_file Read and/or update the specified hints file, instead of the standard file. This option is provided primarily for testing. +.It Fl i +Run in insecure mode. The security checks will not be performed. .It Fl m Instead of replacing the contents of the hints file with those found in the directories specified, @@ -186,3 +189,8 @@ A .Nm utility first appeared in SunOS 4.0, it appeared in its current form in FreeBSD 1.1. +.Sh BUGS +Some security checks (for example, verifying root ownership of +added directories) are not performed when +.Fl aout +is specified. |