login
Header Space

 
 

Re: Availability of additional 0.12 files at tsx-11

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Teresa Selling <tselling@...>
Cc: <linux-activists@...>
Date: Thursday, January 16, 1992 - 1:26 am

Date: Wed, 15 Jan 92 22:53:18 est
   From: Teresa Selling <tselling@natasha.iusb.indiana.edu>

   Does anyone know when the fileutil.tar.Z utils.tar.Z  ... new include and
   library files for ver 0.12 will be available at tsx-11?

They're there now.  My apologies for the delay.  First it took a while
because I couldn't log into nic.funet.fi (because too foreign users were
logged in), and then I was away at a wine tasting class (we did white
wines tonight; yum!  :-)

Also, someone (qpliu@phoenix.prinnceton.edu from the source files) has
uploaded to TSX-11 a quick and dirty implementation of init/login.  I've
placed it in ~ftp/pub/linux/sources/sbin on TSX-11, and I've also
forwarded a copy to nic.funet.fi.  It looks pretty minimal and
bare-bones (it doesn't appear to support run levels), but it appears to
be functional.

Perhaps this and the other init development efforts can be merged
together, with the best code being taken from each.

The README file for the qpl init/login follows:

------------------------------------------------------------------
Although there are other people working on init/getty/login,
I couldn't wait.  Being dumped into root is not so nice.

There is no getty here.  I put /bin/login in the getty field of /etc/ttytab.

What is here:
	a patch to init/main.c that makes it exec /etc/init.
	init.c
	getttyent.c
	getttynam.c
	ttyent.h (from BSD)
	login.c

init.c:
	written based on sunos init(8) manpage.  differences are
	that the -sb switches are ignored, the window="command" in
	/etc/ttytab is ignored, runs only /etc/rc and ignores
	the result code, utmp and wtmp are not updated, SIGTERM
	is ignored, does not create /etc/ttys, and any
	undiscovered bugs.
	since the manpage doesn't say how the getty entry in
	/etc/ttytab is parsed, using strtok seems reasonable.
	works for /dev/tty0 in 0.11.  should be able to hang
	terminals off the serial ports, but i can't test it
	without terminals or cables.

getttyent.c, getttynam.c, ttyent.h:
	functions to read /etc/ttytab.

login.c:
	does the basic login stuff.  accepts and ignores -p switch.
	uses stuff in getttyent.o and getttynam.o to set TERM.
	makes a better filler in /etc/ttytab than /bin/sh, making
	it easier to avoid being root.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Availability of additional 0.12 files at tsx-11, Theodore Ts'o, (Thu Jan 16, 1:26 am)
speck-geostationary