Thanks
KH
See TA 106208.
--
JP
See the "Autologin" section of
http://pcunix.com/Unixart/startup.html
--
Tony Lawrence (to...@aplawrence.com)
SCO/Linux articles, help, book reviews, tests,
job listings and more : http://www.pcunix.com
Here is a Xenix solution that has been
carried forward to the OSR5 login program.
1. Create an entry in the "/etc/gettydefs" file that looks like this.
M # B9600 HUPCL SCANCODE # B9600 CS8 SANE HUPCL TAB3 ECHOE #\r\nlogin: #
m # AUTO
Note the AUTO statement. This does not appear to be documented in OSR5.
2. Edit the "/etc/inittab" to use this entry for the ttty you want to
auto load. In my example "tty10a".
srAm:2:respawn:/etc/getty tty10a M
Note the M referring to your entry in "/etc/gettydefs".
3. Create a user named as the tty line. In my case "tty10a"
4. Edit the "/etc/passwd" file so that it loads the program you want.
tty10a:x:210:50:POS Auto Login:/u:/usr/lib/dmc/prg/pd.mnu_M
Here my app must begin in the "/u" dir and the app is
"/usr/lib/dmc/prg/pd.mnu_M
Disable and Enable the port for these changes to take effect.
Im not sure how many more generations of OSR5 will carry this
undocumented feature.
Good Luck.
It certainly is documented in the gettydefs man page on OSR 5.0.6.
--
JP
> It certainly is documented in the gettydefs man page on OSR 5.0.6.
>
> --
> JP
Fortunately I have removable disk of varying OSR versions.
It is documented in man 5.0.6.
It is not documented in 5.04 & 5.0.5. Indeed the field isn't even mentioned.
Im glad its back. I see they have added an program option as well.
I will try this option. It may save me some setup time.
Funny how it was in Xenix, lost for a while and came back in 5.0.6 pages.
What the Heck!
Serge