home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11470 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  2.1 KB

  1. 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
  2. From: konopik@konopik.austin.ibm.com (Brad Konopik)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Login, modem, and alias questions
  5. Keywords: login,alias,modem
  6. Message-ID: <1992Nov10.174955.15196@awdprime.austin.ibm.com>
  7. Date: 10 Nov 92 17:49:55 GMT
  8. References: <lfh1q3INNi07@notrees.cs.utexas.edu> <1992Nov07.015318.187943@jrh.uucp> <1992Nov9.224706.27913@awdprime.austin.ibm.com>
  9. Sender: news@awdprime.austin.ibm.com (USENET News)
  10. Organization: IBM AIX Porting Center, Austin
  11. Lines: 31
  12.  
  13. In article <1992Nov9.224706.27913@awdprime.austin.ibm.com> jfh@greenber.austin.ibm.com (John F Haugh II) writes:
  14. >In article <1992Nov07.015318.187943@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:
  15. >>    Login is a program called by the getty program to authenticate a user 
  16. >>    logging into the system and to initialize a new enviroment for them to
  17. >>    use during the session.  It is is not meant to be run from the command
  18. >>    line.  Don't run it ... this is not a bug.
  19. >
  20. >Login is a part of TSM which is a program that pretends to be both
  21. >getty and login.
  22. >
  23. >Running login on the command line shouldn't hang the terminal, although
  24. >it isn't a good idea.  If you want to "login" on an open line, you should
  25. >"exec" login, as in
  26. >
  27. >$ exec login jfh
  28.  
  29. The guy said he was typing "login" from ksh.  This is cool.  login is a
  30. ksh builtin that actually execs the real login.  Since the 'pid' does
  31. not change, you won't get the "must exec login from the lowest shell"
  32. stuff when tsm dorks with /etc/utmp.
  33.  
  34. If, from the ksh command line, you said: /usr/bin/login  then you would
  35. get hosed.  From the symptoms the guy describes, it sounds like he is
  36. having a problem worth looking into...too bad I'm not in Defect Support
  37. anymore.
  38.  
  39. -- 
  40.   tcpnet: konopik@konopik.austin.ibm.com  |  Brad Konopik
  41.  ibmvnet: KONOPIK at AUSTIN               |  IBM AIX Porting Center, Austin
  42. internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
  43.    uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
  44.