Overview
| Artifact ID: | d05f84abb808014bd2d299e8d4f41cca9240428c |
|---|---|
| Ticket: | 218304ffffffffffffffffffffffffffffffffff
tcl/expect broken on redhat 6.0 |
| User & Date: | nobody on 2000-10-26 00:55:56 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "obsolete: 8.2.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "tcl/expect broken on redhat 6.0"
- type changed to: "Bug"