[332] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: More stuff in the install

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Jan 1 15:49:07 1995

To: John Kohl <jtk@atria.com>
Cc: ghudson@MIT.EDU, netbsd-dev@MIT.EDU
In-Reply-To: Your message of "Sun, 01 Jan 1995 12:31:08 EST."
             <9501011731.AA04778@banana> 
Date: Sun, 01 Jan 1995 15:49:03 -0500
From: Greg Hudson <ghudson@MIT.EDU>


> a) the virtual console "garbage characters" is a known problem with
> getty parity.  See the install notes for pcvt in the source tree; I
> think you want to add the "np" flag to the generic getty entry.

That works fine.  I'll put a replacement /etc/gettytab in the
installation dist.

> b) the vt225 was added by me.  It appears that at least on lola
> neither vt225 nor vt200/vt220 works quite right--for one scrolling
> is slightly confused; for the other the last line is often left with
> previous text.

I'm currently trying vt224, which seems to work okay, and fixes my
scrolling problems in vi.  vi still likes to paint only half of my
screen when I run it in a virtual console, though (it's weird; it
knows that I have 24 lines, and will draw the remaining lines if I
move my cursor down to them, but when I start it up it only puts text
in the first half of the screen plus the status line at the bottom).
stty knows that I have 24 lines, so I don't know what the problem is
here.

> c) re: password stuff.  A program I recently discovered and might be
> much more useful for xlogin & login & friends is "chpass".  The -a
> option is useful for adding accounts.  (Doesn't seem to be a remove
> function, though).

I talked with Marc about the password issues, and he agreed that the
old Athena system has problems, but thought that a cleaner solution
than in-file markup (password field of "*temp*") would be to have a
file keeping state (say, /var/run/temp-accounts) which keeps a
reference count of temporary logins so it knows when to delete passwd
entries and clean up the /etc/group file.  Then reactivate doesn't
have to do anything.

Another cleanup we could do would be to use real locking on the
password file rather than the crap the Athena software does.  I've
been meaning to figure out what lock files vipw and friends use to
lock /etc/master.passwd.


home help back first fref pref prev next nref lref last post