Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d05f84abb808014bd2d299e8d4f41cca9240428c
Ticket: 218304ffffffffffffffffffffffffffffffffff
tcl/expect broken on redhat 6.0
User & Date: nobody on 2000-10-26 00:55:56
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3668 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-23'
    LastModified: '2000-01-18'
    Severity: CRIT
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Linux-Red Hat
    OSVersion: RedHat linux 6.0
    Machine: Pentium 233
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-18'
    
    
    Name:
    Anthony Santoni
    
    Extensions:
    expect 5.31
    
    CustomShell:
    na
    
    ReproducibleScript:
    Default program that comes with expect.  Run with:
    ./autopasswd admin testing
    
    #!/usr/local/bin/expect -f
    # wrapper to make passwd(1) be non-interactive
    # username is passed as 1st arg, passwd as 2nd
    
    exp_internal 1
    
    set password [lindex $argv 1]
    spawn passwd [lindex $argv 0]
    expect "password:"
    send "$password\r"
    expect "password:"
    send "$password\r"
    expect eof
    
    ObservedBehavior:
    It seems that none of the programs which come with rh 6.0 work. Even self-written ones fail.  I think that what is happening is that the send isn't sending a return character correctly (ie. \r).  This has made tcl/expect
    impossible on rh-6.0 systems.
    
    DesiredBehavior:
    I expect to see something along these lines for the example command line above:
    
    [root@haven bin]# passwd admin
    Changing password for user admin
    New UNIX password:
    BAD PASSWORD: it is based on a dictionary word
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully
    
    
    
    Libes responded on the Net covering this:
        http://www.deja.com/=dnc/getdoc.xp?AN=551661787 
    -- 01/18/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "tcl/expect broken on redhat 6.0"
  11. type changed to: "Bug"