in reply to Re: Login Scripts
in thread Login Scripts

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.

Replies are listed 'Best First'.
Re: Re: Re: Login Scripts
by esh (Pilgrim) on Aug 14, 2003 at 07:15 UTC
    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.
        What is your opererating system?

        Are you changing a login password for an account on that operating system or a password for a web application or a password for a mySQL database user or something else?

        -- Eric Hammond

        The obvious answer to this one is have two separate logins/passwords - one 'user', one administator. Where MySQL comes into the equation I'm really not sure, unless you mean "a means to store the passwords", which could be done in all sots of ways.

        I don't think anyone's yet clear on what kind of system you're talking about...a CGI script? An internal network application? A single box?. A little clarification could go a long way....

        Ben.