Technology and Trends
 USENET Archives
  
Path: gmdzi!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!uunet!sparky!kent
From: to...@ajfcal.cuc.ab.ca (Tony Field)
Newsgroups: comp.sources.misc
Subject: v25i045:  login - login replacement for Interactive or AT&T SysV/386, Part01/02
Message-ID: < csm-v25i045=login.204822@sparky.IMD.Sterling.COM>
Date: 11 Nov 91 02:52:16 GMT
Sender: ke...@sparky.imd.sterling.com (Kent Landfield)
Followup-To: comp.sources.d
Organization: Sterling Software, IMD
Lines: 958
Approved: ke...@sparky.imd.sterling.com
X-Md4-Signature: 6139f290776c50caa4b41b2eac4022f0

Submitted-by: to...@ajfcal.cuc.ab.ca (Tony Field)
Posting-number: Volume 25, Issue 45
Archive-name: login/part01
Environment: ISC, SysV/386
Supersedes: login: Volume 17, Issue 76

This is an updated version of login.c posted to comp.sources.misc in the
spring of 1991. It can be used as a /bin/login and /etc/netlogin
replacement for Interactive Unix. For ATT&T SysV/386 with Wollongong
TCP/IP, it may be used to replace /bin/login only (not /usr/etc/netlogin).

A form of "user access security" is supported. If file /etc/usrtime
exits, it is processed to restrict the tty line, day of week, and time of
user access. Additional options allow all users, uucp, slip users and
interactive users to be controlled on a global basis. The format of this
file is:

      <user>:<enable>:<tty>:<weekday>:<time>:<comment>

for example:

      SLIP:LOGIN:ttyi1a:::::
      ajf:LOGIN:tty??,tty???:Mon,Tue:0800-1700:Temp employee

NEW FEATURES for v2.0

   1. can work as /etc/netlogin with Interactive Unix.
   2. support for /etc/nologin
   3. slip login control
   4. "!" operator in /etc/usrtime (Uwe Doering, gem...@geminix.in-berlin.de)
   5. general cleanup and bug fix.

tony...              (to...@ajfcal.cuc.ab.ca)

Code
-- 
Kent Landfield                   INTERNET: ke...@sparky.IMD.Sterling.COM
Sterling Software, IMD           UUCP:     uunet!sparky!kent
Phone:    (402) 291-8300         FAX:      (402) 291-4362
Please send comp.sources.misc-related mail to ke...@uunet.uu.net.

Path: gmdzi!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!uunet!sparky!kent
From: to...@ajfcal.cuc.ab.ca (Tony Field)
Newsgroups: comp.sources.misc
Subject: v25i046:  login - login replacement for Interactive or AT&T SysV/386, Part02/02
Message-ID: <1991Nov11.025252.1571@sparky.imd.sterling.com>
Date: 11 Nov 91 02:52:52 GMT
References: <csm-v25i045=login.204822@sparky.IMD.Sterling.COM>
Sender: ke...@sparky.imd.sterling.com (Kent Landfield)
Followup-To: comp.sources.d
Organization: Sterling Software, IMD
Lines: 1454
Approved: ke...@sparky.imd.sterling.com
X-Md4-Signature: d570238ee5644a0ccdf574f598a43cd8

Submitted-by: to...@ajfcal.cuc.ab.ca (Tony Field)
Posting-number: Volume 25, Issue 46
Archive-name: login/part02
Environment: ISC, SysV/386
Supersedes: login: Volume 17, Issue 76

Code
-- 
Kent Landfield                   INTERNET: ke...@sparky.IMD.Sterling.COM
Sterling Software, IMD           UUCP:     uunet!sparky!kent
Phone:    (402) 291-8300         FAX:      (402) 291-4362
Please send comp.sources.misc-related mail to ke...@uunet.uu.net.