home *** CD-ROM | disk | FTP | other *** search
- README for SCO Unix $Revision: 1.1 $.
-
- This is a replacement su for SCO Unix. It replaces the complicated rules
- for who can su to whom with just two: all except superuser must supply the
- correct password to su to another user; and if a group `wheel' exists then
- you must be a member of it to su to root. (For the wheel to be effective
- you should restrict root logins; see login(M).)
-
- This su also sets the login uid to the new user. This should not be necessary,
- but a number of programs such as `at' and `crontab' refuse to run if the login
- uid is different from the real uid. To add to this stupidity, the setluid(S)
- call cannot change the login uid once set, even if called as superuser. Our
- replacement in oksetluid.c changes the login uid by hitting it in /dev/kmem.
- This means that YOU MUST RECOMPILE SU FOR NEW OS RELEASES. The offset of the
- login uid might change.
-
- The configuration file /etc/default/su is read for the settings SULOG and
- CONSOLE. See the SCO manual page. Other settings are ignored.
-
- This program compiles with the GNU C compiler (gcc), the Microsoft compiler
- (cc) and the AT&T compiler (rcc). The Microsoft compiler will produce three
- warnings: one is due to incorrect handling of ?: (use gcc); another is due
- to an incorrect prototype in <pwd.h> (fix the include file); and the third
- is due to a wrong definition of offsetof() in <stddef.h> (use gcc or fix the
- include file). These warnings can be ignored.
-
- It should be possible to compile su on other Unix systems, if you give
- -DSecureWare=0 on the command line. We have compiled but not tested it
- on some other systems.
-
- We have done our best to make su secure. However, if you are very concerned
- about security this program is not for you; you probably want the SCO C2
- security, even though it is severely misguided in many ways. THE AUTHORS
- ACCEPT NO RESPONSIBILITY FOR DAMAGE OR LOSS RESULTING FROM THIS PROGRAM.
-
- The file uxnlist.c contains a function that is useful in its own right.
- See the comments there for details.
-
- This program is not copyrighted and may be used freely. We hope you find
- it useful.
-
- Eamonn McManus <em@dce.ie>
- Charles Bryant <ch@dce.ie>
- Datacode Communications Ltd, Dublin, Ireland.
-