ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Modified Sign On Screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Modified Sign On Screen

    I would like to modified the CPF message in the sign on screen to prompt different message in different condition. I have found the DSPF for sign on screen QSYS/QDSIGNON and the MSGF is QSYS/QCPFMSG. But i cannot find the program that control the DSPF and the message.

    Anyone can help me please?

  • #2
    Re: Modified Sign On Screen

    Hi, you can modify the message description in QCPFMSG. Just use ChgMsgD against the message you want.
    But as far as having different conditions in the sign on control program, I don't think you can. But you can do something in the first program that gets called after they sing on.

    What conditions do you want to test for?

    DMW
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Modified Sign On Screen

      DeadMan Walk,

      Actually i am trying to made the sign on screen to be able to respone to user in different situation such as :

      Wrong user name - "User does not exist"
      first time wrong password - "Wrong password"
      second time - "Next try will disable password"
      third time - "Password disable, please contact XXX"

      Thanks for your reply.

      Comment


      • #4
        Re: Modified Sign On Screen

        Thanks Pavan, my bad.
        Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

        Comment


        • #5
          Re: Modified Sign On Screen

          Thanks for Pavan's reply, but i still cannot get the solution (because my knowledge in AS/400 is limited........). As far as i know, the DSPF should be executed or controlled by a CL or RPG program, right? From this PGM, then it will determine which situation will invoke which message,right? (Hope i'm right..........)

          If that is true, then i will need to modify the PGM also in order to achieve what i intend to do. But i do not know which program should i modifify.

          Hope you all can help me on this once more, thank you.

          Comment


          • #6
            Re: Modified Sign On Screen

            That program would be the operating system....and IBM most likely will never open source that

            you can only change the messages.....

            wrkmsgf qcpfmsg

            then option 12

            find the message and 2 to change

            by reading the second post I can see what you are trying to do.
            This is not possible......

            the message for incorrect password and disabled profile are different.

            you can change these as I said above.

            Code:
            Hackers like to know when they are making progress toward breaking into a
            system. When an error message on the Sign On display says Password not
            correct, the hacker can assume that the user ID is correct. You can frustrate the
            hacker by using the Change Message Description (CHGMSGD) command to
            change the text for two sign-on error messages. 
            
            Sign-on error messages
            
            		Message ID 	
            CPF1107		CPF1107  	Shipped text:		Password not correct for user profile.
            				Recommended text:	Sign-on information is not correct
            
            Note: Do not include the message ID in the message text.
            
            CPF1120		CPF1120 	Shipped text:		User XXXXX does not exist.
            				Recommended text:	Sign-on information is not correct.
            
            Note: Do not include the message ID in the message text.

            thanks
            jamie
            All my answers were extracted from the "Big Dummy's Guide to the As400"
            and I take no responsibility for any of them.

            www.code400.com

            Comment


            • #7
              Re: Modified Sign On Screen

              Thanks guys. I think i get the point now. Everyone will try to cover their own weaknesses. Another friend of Microsoft.

              Viva Open Source !!!

              Comment


              • #8
                Re: Modified Sign On Screen

                Keen,
                Everyone will try to cover their own weaknesses.
                not sure what you mean?
                Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

                Comment


                • #9
                  Re: Modified Sign On Screen

                  Do not misunderstand, i means ibm will try to lock the login program setting in order to avoid hacking by outsiders.

                  Comment

                  Working...
                  X