Artifacts Associated With Ticket 218304ffffffffff
Ticket change [d05f84abb8] (rid 113167) by nobody on 2000-10-26 00:55:56:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.2.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "tcl/expect broken on redhat 6.0"
- type initialized to: "Bug"
Ticket change [1eadc4784a] (rid 91016) by welch on 2000-10-26 08:18:59:
- closedate changed to: "2000-10-26T01:18:59"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [1a4db6e226] (rid 122956) by dgp on 2001-04-19 04:13:16:
- closedate changed to: "2001-04-18T21:13:16"
- closer changed to: "dgp"
- resolution changed to: "Invalid"
- subsystem changed to: "None"