home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
- From: konopik@konopik.austin.ibm.com (Brad Konopik)
- Newsgroups: comp.unix.aix
- Subject: Re: Login, modem, and alias questions
- Keywords: login,alias,modem
- Message-ID: <1992Nov10.174955.15196@awdprime.austin.ibm.com>
- Date: 10 Nov 92 17:49:55 GMT
- References: <lfh1q3INNi07@notrees.cs.utexas.edu> <1992Nov07.015318.187943@jrh.uucp> <1992Nov9.224706.27913@awdprime.austin.ibm.com>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: IBM AIX Porting Center, Austin
- Lines: 31
-
- In article <1992Nov9.224706.27913@awdprime.austin.ibm.com> jfh@greenber.austin.ibm.com (John F Haugh II) writes:
- >In article <1992Nov07.015318.187943@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:
- >> Login is a program called by the getty program to authenticate a user
- >> logging into the system and to initialize a new enviroment for them to
- >> use during the session. It is is not meant to be run from the command
- >> line. Don't run it ... this is not a bug.
- >
- >Login is a part of TSM which is a program that pretends to be both
- >getty and login.
- >
- >Running login on the command line shouldn't hang the terminal, although
- >it isn't a good idea. If you want to "login" on an open line, you should
- >"exec" login, as in
- >
- >$ exec login jfh
-
- The guy said he was typing "login" from ksh. This is cool. login is a
- ksh builtin that actually execs the real login. Since the 'pid' does
- not change, you won't get the "must exec login from the lowest shell"
- stuff when tsm dorks with /etc/utmp.
-
- If, from the ksh command line, you said: /usr/bin/login then you would
- get hosed. From the symptoms the guy describes, it sounds like he is
- having a problem worth looking into...too bad I'm not in Defect Support
- anymore.
-
- --
- tcpnet: konopik@konopik.austin.ibm.com | Brad Konopik
- ibmvnet: KONOPIK at AUSTIN | IBM AIX Porting Center, Austin
- internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
- uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
-