Displaying 1 result from an estimated 1 matches for "0812_99".
Did you mean:
f0812_99
2002 Sep 05
0
error in smbpasswd (now in english, sorry)
...n/smbpasswd $usuario
expect {
"assword*:" {
sleep .5s
send "$senha\r"
exp_continue
}
}
This scripts take data of a text file like this:
0334_99:/home/samba/alunos/0334_99:secretword
0812_99:/home/samba/alunos/0812_99:wordsecret
[...]
Because username have to begin with a alfa char and not only numeric
digits we have to put F in front of RA number (user name). This
procedure is taked in caduser.
The script trocapass call passwd and pass to it the password, then it
invoke smbpasswd an...