ITEM: AD7102L

How to modify the console entry in /etc/inittab


Env:    Model 250 running AIX 3.2.5

Desc:   Customer wants to modify inittab so that his user is
        automatically running on bootup. He removed the console 
        line to set up getty and put in his own line to set up 
        the program. On reboot, the additions to inittab do NOT 
        take affect, and when he examines inittab, the changes 
        he made are gone.

        If he changes /etc/inittab and then runs "kill -1 1", it 
        seems to do this correctly, but upon reboot, it puts back 
        the original entries.

Action: This is normal behavior. The "login" characteristics of TTY's 
        and the console are governed by ODM as well as /etc/inittab.

        For instance, you can go into inittab and set the console 
        entry to "off" and upon reboot, it will be set back to 
        "respawn". This is due to how the ODM values that determine 
        the login characteristics are used.

        To do what you want, try disabling the login for the console, 
        then add a line AFTER the console entry that does what you want.

        Example:
                chcons -a login=disable

        or for a tty

                pdisable tty0


        It will set the entry for getty on the console to off, as well 
        as modifying ODM.  You should then add your new console entry
        to the inittab.


Support Line: How to modify the console entry in /etc/inittab ITEM: AD7102L
Dated: December 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:29
Comments or suggestions? Contact us