Nickd_69 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Login Scripts
by esh (Pilgrim) on Aug 14, 2003 at 06:31 UTC
    What is your operating system?

    Do you want to change the password for the current user or another user?

    Do you want to change the password on the current box or on another box?

    Do you want to change the local password or one in some network service?

    Are you changing a login password or the password of some application?

    What do you mean by "login script"? Is this password going to be changed when somebody logs in or are you just going to run the script from a command line and you want to change the login password?

    Where will you get the new password? Prompt a user? Hardcode in the script? Randomly generate?

    -- Eric Hammond

      Basically what I am trying to do is have people login to the same account (shared username and passwd) and bring up whatever info. As well as the shared username and passwd, there will be an Administrator which has access to change the shared username passwd. It does not need to have tight security if that will make things easier.
        I don't think that answered any of my questions and it raises a dozen more which I won't list, but at least I think I can suggest that you don't need what you originally asked for.

        Just have the administrator log in to the shared account and change the password.

        In fact, why change the password at all given the obvious and admitted lack of security?

        By the way, shared accounts are generally a bad idea.

        -- Eric Hammond

Re: Login Scripts
by sauoq (Abbot) on Aug 14, 2003 at 06:49 UTC
    Does anyone know how to make a login script where you can change password??

    No. No one knows.

    -sauoq
    "My two cents aren't worth a dime.";