home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume17 / login / part01 / Readme < prev   
Text File  |  1991-04-03  |  3KB  |  78 lines

  1.             login.c
  2.  
  3. /bin/login replacement for AT&T SysV/386 3.2 and Interactive Unix.
  4.  
  5. At present, this login cannot be used as a replacement for 
  6. Interactive's /etc/netlogin: rlogin fails (however telnet works).
  7. ((( can anybody help!!! )))
  8.  
  9. This version of login replicates most of the actions of the standard
  10. login provided with AT&T SysV/386 unix. The standard man page apply, or
  11. the provided man pages may be used.
  12.  
  13. AT&T and Interactive Unix man pages do not document the /etc/dialups &
  14. /etc/d_passwd files, however the dialup feature does indeed exist in the
  15. distribution login programme. This and the non-standard "user access
  16. security" extension are documented in login.4.
  17.  
  18. This version of login supports "user access security". If file
  19. /etc/usrtime exits, it is processed to restrict the tty line, day of
  20. week, and time of user access. Additional options allow all users, uucp
  21. users and interactive users to be controlled on a global basis. The
  22. format of this file is:
  23.  
  24.       <user>:<enable>:<tty>:<weekday>:<time>:<comment>
  25.  
  26. for example:
  27.  
  28.       ajf:LOGIN:/dev/tty01:Mon,Tue:0800-1700:Temp employee
  29.  
  30.  
  31. SUPPORTED:
  32.     1.    /etc/passwd, /etc/shadow
  33.     2.    /etc/default/login
  34.     3.    /etc/dialups, /etc/d_passwd
  35.     4.    /etc/utmp, /etc/wtmp
  36.     5.    /usr/adm/loginlog
  37.     6.    /etc/ttytype
  38.     7    .lastlogin
  39.     8.    /etc/usrtime (non-standard feature)
  40.  
  41. NOT IMPLEMENTED:
  42.     1.    what are /usr/lib/uucp/uucico, sublogin, syscon, stty used for?
  43.     these files are text strings in the original AT&T binary for login
  44.     but are not implemented in this login routine.
  45.     2.    internationalization as in Interactive unix.
  46.     3.    tcp/ip network rlogin support.
  47.  
  48. DIFFERENCES:
  49.     1.  TIMEOUT= in /etc/default/login is the total elapsed time required
  50.         for a successful user name and password.  The AT&T manuals
  51.         indicate that this really should be the number of seconds
  52.         between receipt of a userid and the receipt of a password.
  53.     2.  This login assumes a sane tty condition.
  54.     3.    CONSOLE= in /etc/default/login accepts colon-separated devices
  55.         as well as "?" wildcard specifications.
  56.             CONSOLE=/dev/console:/dev/vt??
  57.     4.    User access security (/etc/usrtime) is not standard.
  58.     5.    Change of the root directory is implemented as per AT&T man
  59.         pages, however, I cannot figure out why the functionality
  60.         exits!  No "useful" results could be found.
  61.     6.    The -p (preserve environment) is not standard for interactive
  62.         login (however is a standard feature for tcp/ip login).
  63.     7.  Of course, other differences exist.....
  64.     
  65.  
  66. INSTALL:
  67. ========
  68. Check the Makefile before compilation to define your OS and compiler.
  69.  
  70.  
  71. -----------------------------------------------------------------------------
  72. tony field
  73.  
  74.    uucp: tony@ajfcal.uucp
  75.      ..uunet!watmath!calgary!ajfcal!tony
  76.  
  77. internet: tony%ajfcal@cpsc.ucalgary.ca       (I hope!)
  78.