home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume17
/
login
/
part01
/
Readme
< prev
Wrap
Text File
|
1991-04-03
|
3KB
|
78 lines
login.c
/bin/login replacement for AT&T SysV/386 3.2 and Interactive Unix.
At present, this login cannot be used as a replacement for
Interactive's /etc/netlogin: rlogin fails (however telnet works).
((( can anybody help!!! )))
This version of login replicates most of the actions of the standard
login provided with AT&T SysV/386 unix. The standard man page apply, or
the provided man pages may be used.
AT&T and Interactive Unix man pages do not document the /etc/dialups &
/etc/d_passwd files, however the dialup feature does indeed exist in the
distribution login programme. This and the non-standard "user access
security" extension are documented in login.4.
This version of login supports "user access security". 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
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:
ajf:LOGIN:/dev/tty01:Mon,Tue:0800-1700:Temp employee
SUPPORTED:
1. /etc/passwd, /etc/shadow
2. /etc/default/login
3. /etc/dialups, /etc/d_passwd
4. /etc/utmp, /etc/wtmp
5. /usr/adm/loginlog
6. /etc/ttytype
7 .lastlogin
8. /etc/usrtime (non-standard feature)
NOT IMPLEMENTED:
1. what are /usr/lib/uucp/uucico, sublogin, syscon, stty used for?
these files are text strings in the original AT&T binary for login
but are not implemented in this login routine.
2. internationalization as in Interactive unix.
3. tcp/ip network rlogin support.
DIFFERENCES:
1. TIMEOUT= in /etc/default/login is the total elapsed time required
for a successful user name and password. The AT&T manuals
indicate that this really should be the number of seconds
between receipt of a userid and the receipt of a password.
2. This login assumes a sane tty condition.
3. CONSOLE= in /etc/default/login accepts colon-separated devices
as well as "?" wildcard specifications.
CONSOLE=/dev/console:/dev/vt??
4. User access security (/etc/usrtime) is not standard.
5. Change of the root directory is implemented as per AT&T man
pages, however, I cannot figure out why the functionality
exits! No "useful" results could be found.
6. The -p (preserve environment) is not standard for interactive
login (however is a standard feature for tcp/ip login).
7. Of course, other differences exist.....
INSTALL:
========
Check the Makefile before compilation to define your OS and compiler.
-----------------------------------------------------------------------------
tony field
uucp: tony@ajfcal.uucp
..uunet!watmath!calgary!ajfcal!tony
internet: tony%ajfcal@cpsc.ucalgary.ca (I hope!)