]> git.ipfire.org Git - thirdparty/util-linux.git/blame - login-utils/login.c
Imported from util-linux-2.11q tarball.
[thirdparty/util-linux.git] / login-utils / login.c
CommitLineData
6dbe3af9
KZ
1/* This program is derived from 4.3 BSD software and is
2 subject to the copyright notice below.
fd6b7a7f 3
6dbe3af9
KZ
4 The port to HP-UX has been motivated by the incapability
5 of 'rlogin'/'rlogind' as per HP-UX 6.5 (and 7.0) to transfer window sizes.
fd6b7a7f 6
6dbe3af9 7 Changes:
fd6b7a7f 8
6dbe3af9
KZ
9 - General HP-UX portation. Use of facilities not available
10 in HP-UX (e.g. setpriority) has been eliminated.
11 Utmp/wtmp handling has been ported.
fd6b7a7f 12
6dbe3af9
KZ
13 - The program uses BSD command line options to be used
14 in connection with e.g. 'rlogind' i.e. 'new login'.
fd6b7a7f 15
364cda48 16 - HP features left out: password expiry
6dbe3af9
KZ
17 '*' as login shell, add it if you need it
18
19 - BSD features left out: quota checks
fd6b7a7f 20 password expiry
6dbe3af9 21 analysis of terminal type (tset feature)
fd6b7a7f 22
6dbe3af9
KZ
23 - BSD features thrown in: Security logging to syslogd.
24 This requires you to have a (ported) syslog
25 system -- 7.0 comes with syslog
fd6b7a7f 26
6dbe3af9 27 'Lastlog' feature.
fd6b7a7f 28
22853e4a 29 - A lot of nitty gritty details have been adjusted in favour of
6dbe3af9
KZ
30 HP-UX, e.g. /etc/securetty, default paths and the environment
31 variables assigned by 'login'.
fd6b7a7f 32
6dbe3af9
KZ
33 - We do *nothing* to setup/alter tty state, under HP-UX this is
34 to be done by getty/rlogind/telnetd/some one else.
fd6b7a7f 35
6dbe3af9
KZ
36 Michael Glad (glad@daimi.dk)
37 Computer Science Department
38 Aarhus University
39 Denmark
fd6b7a7f 40
6dbe3af9 41 1990-07-04
fd6b7a7f 42
6dbe3af9 43 1991-09-24 glad@daimi.aau.dk: HP-UX 8.0 port:
fd6b7a7f
KZ
44 - now explictly sets non-blocking mode on descriptors
45 - strcasecmp is now part of HP-UX
46
6dbe3af9 47 1992-02-05 poe@daimi.aau.dk: Ported the stuff to Linux 0.12
fd6b7a7f 48 From 1992 till now (1997) this code for Linux has been maintained at
6dbe3af9 49 ftp.daimi.aau.dk:/pub/linux/poe/
7eda085c 50
c07ebfa1 51