Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!sparky!kent From: tony%ajfcal@cpsc.ucalgary.ca (Tony Field) Newsgroups: comp.sources.misc Subject: v17i076: login - login replacement for Interactive or AT&T V3.2, Part01/01 Message-ID: <1991Apr1.012905.5502@sparky.IMD.Sterling.COM> Date: 1 Apr 91 01:29:05 GMT Sender: kent@sparky.IMD.Sterling.COM (Kent Landfield) Organization: Sterling Software, IMD Lines: 1941 Approved: kent@sparky.imd.sterling.com X-Checksum-Snefru: 7b66d8b3 1d3a963f c00c1260 bed3b132 Submitted-by: Tony Field Posting-number: Volume 17, Issue 76 Archive-name: login/part01 Login.c is a replacement for AT&T SysV/386 (or Interactive Unix) /bin/login. Most of the features of standard /bin/login are provided as well as a non-standard "user access control" that may be used to restrict user access based on dates, times, days of the weeek and tty line. Tony ------ #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh 'Readme' <<'END_OF_FILE' X login.c X X/bin/login replacement for AT&T SysV/386 3.2 and Interactive Unix. X XAt present, this login cannot be used as a replacement for XInteractive's /etc/netlogin: rlogin fails (however telnet works). X((( can anybody help!!! ))) X XThis version of login replicates most of the actions of the standard Xlogin provided with AT&T SysV/386 unix. The standard man page apply, or Xthe provided man pages may be used. X XAT&T and Interactive Unix man pages do not document the /etc/dialups & X/etc/d_passwd files, however the dialup feature does indeed exist in the Xdistribution login programme. This and the non-standard "user access Xsecurity" extension are documented in login.4. X XThis version of login supports "user access security". If file X/etc/usrtime exits, it is processed to restrict the tty line, day of Xweek, and time of user access. Additional options allow all users, uucp Xusers and interactive users to be controlled on a global basis. The Xformat of this file is: X X ::::