projects
/
OpenSPARC-T2-SAM
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM]
/
sam-t2
/
devtools
/
v8plus
/
bin
/
autopasswd
#!/bin/sh
# \
exec
expect
-f
"
$0
"
${1+"$@"}
# wrapper to make passwd(1) be non-interactive
# username is passed as 1st arg, passwd as 2nd
set
password
[
lindex
$argv
1
]
spawn passwd
[
lindex
$argv
0
]
expect
"assword:"
send
--
"
$password
\r
"
expect
"assword:"
send
--
"
$password
\r
"
expect eof