Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* getttynam() on DEC OSF/1
@ 1995-01-30 20:55 Macintyre L P
  1995-02-02  6:37 ` Spider Boardman
  0 siblings, 1 reply; 2+ messages in thread
From: Macintyre L P @ 1995-01-30 20:55 UTC (permalink / raw)



Hi:

I'm trying to find out whether a terminal has the secure attribute (root can
use it to log in).  According to the man pages, you put ptys in the file
/etc/securettys and then all ttys are secure.  However, it also says that
the routine getttyname() can be used to find out whether root logins are
allowed on your terminal.  Unfortunately, it seems that getttyname() only
checks for the terminal by its full name (e.g. /dev/ttypa) and doesn't look
for the ptys keyword.  This leads me to believe that DEC either has another
call that they don't tell you about or that they explicitly check for ptys
as well as the actual name.  Does anyone know?

                                 Lawrence
                                    ~
-------------------------------------------------------------------------------
lpz@nautique.epm.ornl.gov                                    Lawrence MacIntyre 
lpz@ornl.gov             Oak Ridge National Laboratory          615.574.8696


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-02  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-30 20:55 getttynam() on DEC OSF/1 Macintyre L P
1995-02-02  6:37 ` Spider Boardman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox