login script question
Results 1 to 10 of 10

Thread: login script question

  1. #1
    Registered User
    Join Date
    Apr 2000
    Location
    Israel
    Posts
    259

    Question login script question

    We will soon be moving offices.. When we get into the new office, my boss wants everybody to have to change their passwords at the first login. Is there any way to set this automatically in the login script without having to check each user in User Manager?

    Also, he wants the login script to call a page on the Intranet which will require every user to update his/her info (ie. phone numbers, extensions,..) on the first login. The intranet page is being prepared by the programmer. How can I set the login script to load the page on the first login?

    Thanx
    Rafi

  2. #2
    Registered User
    Join Date
    Apr 2001
    Location
    New Zealand
    Posts
    142

    Cool

    Hi TechNut

    We the first part is easy - policies

    If you create a policy which makes users change there password on logon and/or make them do this after so many days.

    Second one is a bit different - For the Intranet you could use a cookie and use if exist do nothing if not open page http:// etc etc - not exact syntax but i'm sure you get the idea..

    Hope this helps
    Damon Campbell (MCSE)
    New Zealand

  3. #3
    Registered User
    Join Date
    Apr 2000
    Location
    Israel
    Posts
    259

    Post

    You could program the cookie to open the page upon login to the network? How would it load the cookie to bring up the Intranet page?

    On a different board, someone told me the command
    start /max http://www.yahoo.com/
    would load a web page. I am going to test it today. I don't understand the IF NOT EXIST - nothing is being downloaded to the computer - it is a page on the Intranet. Will IF NOT be able to tell if the said user has already filled out his vitals on the INtranet?

    Thanks
    Rafi

  4. #4
    Registered User ShadowKing's Avatar
    Join Date
    Dec 1999
    Location
    WA
    Posts
    743

    Post

    What he is saying is that the Developer would have to detect to see if the user had filled out the form or not, then redirect them as necessary.

    As for the page starting on first login, I suppose you could implement a policy to put that in the runonce key, so that it would only run the first time they logged in...

    Or a VBScript would do very nicely, just save a file in the users' temp folder or something...
    Matt

    "If you have been tempted into evil, fly from it. It is not falling into the water, but lying in it, that drowns"

  5. #5
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Post

    Rafi Shalom,
    Sure CampbellID meant that you have to use "start http://computer_or_IP_or_DNSname/page.htm " Command.
    What he meantis that the Htm will drop a Cookie into your computer - This will Do the Trick of Checking out.
    What he also meant IMHO that there will be a IF condition inside the script that will return an error code wether cookie exist.

    How many people is this about - If it is no more than 35 - Let a Sec. do the trick - Don't be "Fryer". <IMG SRC="smilies/biggrin.gif" border="0"> - If you know what i mean...

    Always Happy to help
    Gabriel
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  6. #6
    Registered User
    Join Date
    Apr 2000
    Location
    Israel
    Posts
    259

    Post

    Originally posted by Gabriel:
    <STRONG>Rafi Shalom,
    Sure CampbellID meant that you have to use "start http://computer_or_IP_or_DNSname/page.htm " Command.
    What he meantis that the Htm will drop a Cookie into your computer - This will Do the Trick of Checking out.
    What he also meant IMHO that there will be a IF condition inside the script that will return an error code wether cookie exist.

    How many people is this about - If it is no more than 35 - Let a Sec. do the trick - Don't be "Fryer". <IMG SRC="smilies/biggrin.gif" border="0"> - If you know what i mean...

    Always Happy to help
    Gabriel</STRONG>
    About 140 people... <IMG SRC="smilies/frown.gif" border="0">

  7. #7
    Registered User
    Join Date
    Aug 1999
    Location
    near the backdoor to hell
    Posts
    804

    Post

    better idea.
    create a login script that copies a file to thier local pc.
    create a second file that renames the first file, and runs the http: form
    then once that is done, create a login script that checks for the existance of the renamed file, and appends %username% to a text file.
    this way you can say so and so didn't fill it out.

  8. #8
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Post

    Originally posted by tech_nut:
    <STRONG>About 140 people... <IMG SRC="smilies/frown.gif" border="0"></STRONG>
    I still don't think that you should do it.
    Put an XLS or CSV file in a share and Instruct everone to Insert their detail there.
    it is quite a simple sollution, and it takes the duty from you and move it down to the users.
    Good Luck
    Gabriel
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  9. #9
    Registered User
    Join Date
    Apr 2000
    Location
    Israel
    Posts
    259

    Post

    Originally posted by Gabriel:
    <STRONG>

    I still don't think that you should do it.
    Put an XLS or CSV file in a share and Instruct everone to Insert their detail there.
    it is quite a simple sollution, and it takes the duty from you and move it down to the users.
    Good Luck
    Gabriel</STRONG>
    Problem is we have tried to get the users to do it and have left them the responsibility. They tend to shirk it.. It has come to a point where we are going to force the issue..

  10. #10
    gl993
    Guest

    Post

    You can select multiple users in user manager. Select every user on your network and force a password change with one click. Depending on how many users that is, it could take a few minutes for user manager to tag them all. I have 1500, and it took about 2 minutes. You may also want to de-select any special user logons you may use.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •