AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  documentation for correct comment syntax of /etc/initab

    Posted 02/20/06 11:50 AM

    Originally posted by: SystemAdmin


    Is there a document that tells the supported syntax/character to use when following the "hardening" reccommendations, and disabling/stopping/commenting out entries in /etc/inittab?
    #AIX-Forum


  • 2.  Re: documentation for correct comment syntax of /etc/initab

    Posted 02/20/06 12:12 PM

    Originally posted by: SystemAdmin


    Is the colon not working for you?

    anker
    #AIX-Forum


  • 3.  Re: documentation for correct comment syntax of /etc/initab

    Posted 02/20/06 12:24 PM

    Originally posted by: SystemAdmin


    I'm seeing other characters used on systems here, and I think I was told to use an '* ' before by AIX support on a 4.3.x box too. Since I am trying to create automation scripts for hardening all oslevels I want to find a specific document to follow. Even certification guides seem to leave this item out of the .pdfs I've viewed.
    #AIX-Forum


  • 4.  Re: documentation for correct comment syntax of /etc/initab

    Posted 02/20/06 12:33 PM

    Originally posted by: SystemAdmin


    I've never heard of anything other than a colon being used in AIX. From http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/files/aixfiles/inittab.htm:

    The colon character ( : ) is used as a delimiter
    as well as a comment character. To comment out an
    inittab entry, add : at the beginning of the entry.

    I thought this was universal, but I did some Googling and you're quite right; other operating systems use other conventions. I believe you're safe with a colon in AIX, though.


    #AIX-Forum


  • 5.  Re: documentation for correct comment syntax of /etc/initab

    Posted 02/20/06 12:55 PM

    Originally posted by: SystemAdmin


    Thanks for the reference. The # appears to be acceptable as well, (from the "Command:" section), in AIX.
    #AIX-Forum