home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9097 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.2 KB  |  37 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!munnari.oz.au!mips!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!poiro!frank
  3. From: frank@poiro.enet.dec.com (Frank O'Neill)
  4. Subject: Enabling/disabling root logins on a terminal?
  5. Message-ID: <1992Aug26.140612.25137@rdg.dec.com>
  6. Lines: 25
  7. Sender: frank@poiro (Frank O'Neill)
  8. Reply-To: foneill@clada.enet.dec.com
  9. Organization: Digital Equipment Corporation
  10. Date: Wed, 26 Aug 1992 14:06:12 GMT
  11.  
  12.  
  13. Hi,
  14.  
  15.     Can anybody tell me how to mark tty lines as secure (i.e. allow
  16.     root logins) on AIX.  The on and secure bits may be set in the
  17.     /etc/ttys file on ULTRIX and in the /etc/ttytab file on SunOS.
  18.     Neither of these files seem to exist on AIX.  The getttyent()
  19.     routine gets a tty description file entry which has a format
  20.     described in ttyent.h and includes the TTY_ON and TTY_SECURE
  21.     bits.  What file does getttyent() access to find this information?
  22.  
  23.     It seems that when I use SMIT to add a TTY, it creates the file
  24.     /dev/tty*, and I can set the Enable LOGIN bit for that TTY using
  25.     the Change/Show characteristics of a TTY.  But how do you enable
  26.     or disable the SECURE bit?
  27.  
  28. Thanks,
  29.  
  30. Frank
  31.  
  32.  
  33. --
  34. Frank O'Neill,
  35. Digital Equipment International,
  36. Galway, Ireland
  37.