Where does getty get its information?

Ed Ravin elr at kb2ear.ampr.org
Tue Apr 2 07:07:22 AEST 1991


so the same ports used for incoming calls can be used for uucp and
other dialouts.

I tapped the orchestra conductor on the back (that is, ran SMIT) and
set up the ports with logins enabled with "delay" (corresponds to some
getty option for sharing ports).  Programs like uucp and cu with setuid's
set can now access the ports without trouble, but my ordinary user programs
(like Kermit) cannot.

A look at the protections on the tty devices shows that they're set to
rw-rw--w-, or owner and group read/write, but outsiders write only.  If
I chmod the tty device to 666 then Kermit works fine, but after a user
signs on and off again, (and getty is restarted), the protection goes
back to -w- (write only) for outsiders.

I tried to RTFM, and according to the manual, getty sets the protections
on the tty port based on information stored in "odm".  I looked up "odm"
wherever I could and found instructions on how to build object databases,
but none of it seemed relevant to changing existing configurations.  It
may be that I don't have the right manual -- IBM only sent us four or five
binders, the rest is all supposed to be on a CD-ROM that won't arrive
until Real Soon Now.

Anybody out there know how getty gets into this "odm" stuff and how a Unix
proficient manager can get their hands on changing it?



More information about the Comp.unix.aix mailing list