Hi,
A quick question! I'm looking for all the possible errors that 'passwd'
can produce so that I can write an expect script to handle all of them.
Running 'strings' on passwd itself doesn't give them, but if I find the
NLS directories I can find the passwd strings in passwd.cat....
% strings /usr/lib/nls/msg/en_US.ISO8859-1/passwd.cat
usage: chfn [username]
usage: chsh [username]
usage: passwd [-afqs] [username]
%s: %u: unknown user uid.
...
etc
However the passwd program uses the word "passcode" in places.
("You may not re-use that passcode this soon.") - But if I grep for
"passcode" on the passwd.cat files, there's no match!
% strings en_US.88591/passwd.cat | grep passcode
% strings en_US.ISO8859-1/passwd.cat | grep passcode
%
Am I looking at the wrong files?
Thanks
Paul
Received on Fri Aug 03 2001 - 16:21:52 NZST