in reply to Login Scripts

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

Replies are listed 'Best First'.
Re: Re: Login Scripts
by Nickd_69 (Novice) on Aug 14, 2003 at 07:05 UTC
    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

        How do I get the Admin to log in? I need a script that authenticates between user and admin. I need to change the password so that a group of people can access the info without a prior group being able to. So the best way to do this is combined with MySql? How do I go about that? I realise that a shared account is a bad idea but that doesnt bother me at this stage.