forrie@morwyn.UUCP (Forrie Aldrich) (04/05/91)
Just a comment on multiple login windows:
when you screw with the inittab to get this to happen, the /etc/utmp
info gets mangled. How I know this is that I have a few applications
such as 'SUDO' that will not recognize me as a valid user when I am
running multiple login windows.
This is a question I asked MANY times and received (to my _dismay_) NO
answers. I've been TRYING very diligently to figure out what on earth
is SO DIFFERENT with this machine in terms of the /bin/login program and
the way it handles the /etc/utmp file (as well as other programs that
write to this file like /etc/getty).
WOULD SOMEONE PLEASE HELP? I _know_ there are people out there that might
know what the problem is. I'm trying to adapt this machine to perform different
functions, and for this to happen I need to debug this. UNFORTUNATELY, it
seems that anyone out there that has access to SRC for the 3b1 is
very inhibited to answer any inquiries I might have...
Any help would be appreciated... THANKS IN ADVANCE!
Forrie
--
--------------------=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--------------------
Forrest Aldrich, Jr.| ...uunet!eci!morwyn!forrie |forrie@morywn.UUCP
| <email paths> |
CREATIVE CONNECTIONS| ...uunet!zinn!eci!morwyn!forrie |Graphic Illustration
------------------\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/------------------
\___ PO Box 1541 - Dover, NH 03820 ___/
andy@jhunix.HCF.JHU.EDU (Andy S Poling) (04/08/91)
In article <76@morwyn.UUCP> forrie@morwyn.UUCP (Forrie Aldrich) writes: >Just a comment on multiple login windows: > >when you screw with the inittab to get this to happen, the /etc/utmp >info gets mangled. How I know this is that I have a few applications >such as 'SUDO' that will not recognize me as a valid user when I am >running multiple login windows. I have been running multiple logins on my 3b1 for over a year now. I don't use multiple getty entries in inittab though - I use my own home-brewed "system manager" (replacing phmgr, smgr, and wmgr) which pops up login windows on demand. The basic problem is the same, however, regardless of how you go about logging in multiple times. Most of the software on the 3b1 is designed to be used with the UA which always logs you in on window #1. /bin/su is a perfect example of this brokenness: no matter what window your are logged into and who you are logged in as, su will log the su as being from whatever user is logged into /dev/w1 and as being invoked in /dev/w1. Blech. I have learned to accept this fact and make sure my favorite account is logged in on w1 so that most things work the way I would expect them to. It's still broken behavior tho... -Andy -- Andy Poling Internet: andy@gollum.hcf.jhu.edu UNIX Systems Programmer Bitnet: ANDY@JHUNIX Homewood Academic Computing Voice: (301)338-8096 Johns Hopkins University UUCP: uunet!mimsy!aplcen!jhunix!andy
bdb@becker.UUCP (Bruce D. Becker) (04/10/91)
In article <76@morwyn.UUCP> forrie@morwyn.UUCP (Forrie Aldrich) writes: |Just a comment on multiple login windows: | |when you screw with the inittab to get this to happen, the /etc/utmp |info gets mangled. How I know this is that I have a few applications |such as 'SUDO' that will not recognize me as a valid user when I am |running multiple login windows. | |This is a question I asked MANY times and received (to my _dismay_) NO |answers. I've been TRYING very diligently to figure out what on earth |is SO DIFFERENT with this machine in terms of the /bin/login program and |the way it handles the /etc/utmp file (as well as other programs that |write to this file like /etc/getty). | |WOULD SOMEONE PLEASE HELP? I _know_ there are people out there that might |know what the problem is. I'm trying to adapt this machine to perform different |functions, and for this to happen I need to debug this. UNFORTUNATELY, it |seems that anyone out there that has access to SRC for the 3b1 is |very inhibited to answer any inquiries I might have... | |Any help would be appreciated... THANKS IN ADVANCE! I have been using multiple logins with the 3B1 for quite a while with no problems. The only trick I can think of is that you need to ensure that the first window ("/dev/w1") is the one which you use to login as the "owner", that is who will be the one for whom smgr puts up the envelope icon. Here's the relevant part of my inittab - there isn't a real need for the "dum" lines, they're just for listing order: vid:2:respawn:/etc/getty window 19200 dum:2:wait:/bin/true vi2:2:respawn:/etc/getty window 19200 dum:2:wait:/bin/true vi3:2:respawn:/etc/getty window 19200 dum:2:wait:/bin/true vi4:2:respawn:/etc/getty window 19200 -- ,u, Bruce Becker Toronto, Ontario a /i/ Internet: bdb@becker.UUCP, bruce@gpu.utcs.toronto.edu `\o\-e UUCP: ...!utai!mnetor!becker!bdb _< /_ "Waking up is hard to do" - Neil Sedated