home *** CD-ROM | disk | FTP | other *** search
-
- @(#) README 1.1 91/01/26
-
- Copyright (C) 1991 by Christian Schlichtherle
- (chris@attron.ruhr.sub.org)
-
- Permission is hereby granted to use, copy, modify or distribute
- this file at will unless this copyright notice is removed.
- The author disclaims any kind of warranty.
-
- README - Documentation file for binst(C).
-
-
- SYNTAX
-
- binst <program> ...
-
-
- DESCRIPTION
-
- "binst" is a small program used to make user written programs
- public available without having super user permissions in
- order to install it. To avoid system security gaps "binst"
- performs a number of (configurable) checks when installing
- the program.
- To install a program you normally need write permission to the
- directory where the program should go, but giving write
- permission to the user means a lack of system security because
- the user could remove any file in the directory and for example
- substitute it with a trojanic horse.
- With "binst" the user does not need write permission to the
- directory. Instead "binst" is a setugid-root program which
- performs a number of (configurable) checks in order to maintain
- system security.
-
- All installed programs have at least 0755 permission (read
- permission is needed for shell scripts).
- All programs are installed in the directory PUBBIN (configurable
- parameter in "config.h").
- For a detailed description of the permission checkings performed
- by "binst" see the file "config.h". The behaviour of "binst"
- deeply depends on this file.
-
-
- NOTES
-
- To install "binst" you should edit "config.h" in order to adapt
- it to your system's needs and edit "Makefile" to satisfact your
- compiler. Installation is quite simple.
-
-
- RETURN VALUE
-
- "binst" always returns the status of the last installation,
- which is 0 for success and 1 otherwise.
-