And if users have to use the same user NAME, you could even be more "smart"
by relogging them into the new account by adding those lines after the "if"
line:

        : ECHO ![CHR(7)] Account closed... transfering to SYS account in 5
seconds.
        : ECHO Next time, use "HELLO !HPUSER.SYS"
        : PAUSE 5
        : HELLO !HPUSER.SYS"

The 5 seconds pause will ensure that they'll see the message and avoid
waiting 5 seconds next time by logging directly into the sys account

Hope it helps.
--
Denis St-Amand - [log in to unmask] (remove "removeit." from address)

Lee Gunter <[log in to unmask]> a icrit dans l'article
<[log in to unmask]>...
> You don't need MPEX to do this.  Catalog an account-level UDC for the
> TELESUP account to do the following:
>
>      : if ups(HPUSER) <> "MGR"           << allows MGR.TELESUP to log on
>>
>      :    echo
>      :    echo  "This account is closed:  please log on to the SYS
account,
> now"
>      :    echo
>      :    bye
>      :endif
>
> If you have a "bye" UDC in place, you'll want to verify its operation, as
> well.
...
> Greetings HP gurus,
>
> We are about to embark on a major software conversion.  When the
conversion
> is complete, the end user will be required to log into a different
account
> than they are accustom to using.  Just for the sake of discussion, lets
> call the old account TELESUP and the new account SYS.
>
> Is there a way, using MPEX, to send a message to those logging into
> TELESUP reminding them that TELESUP is no longer valid and please log
> into SYS? Then aborting their attempted logon.
>