Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

missing 3001-XXX codes from "/usr/bin/pwdck -n ALL"

110 views
Skip to first unread message

jared...@yahoo.com

unread,
Nov 15, 2011, 4:22:12 PM11/15/11
to
I have two AIX 5.3 servers. On one of them I get this type of output
when I run "/usr/bin/pwdck -n ALL":

3001-402 The user "oracle" has an invalid password field in /etc/
passwd.
3001-414 The stanza for "oracle" was not found in /etc/security/
passwd.
3001-402 The user "raacle" has an invalid password field in /etc/
passwd.
3001-414 The stanza for "raacle" was not found in /etc/security/
passwd.

on the other, running the same command, I do not get the error codes
listed, only the error wording such as:

The user "oracle" has an invalid password field in /etc/passwd.
The stanza for "oracle" was not found in /etc/security/passwd.
The user "raacle" has an invalid password field in /etc/passwd.
The stanza for "raacle" was not found in /etc/security/passwd.

usrchk -n ALL also produces no "3001-XXX" code output on this second
server.

Is there a configuration file that needs to be modified to provide the
numeric codes on this server?
Any info as to why these two servers produce different output when the
same command is run would be greatly appreciated. Thanks in advance.

Uwe Auer

unread,
Nov 20, 2011, 4:58:05 AM11/20/11
to
Hi,

check "locale" - try to set:
export LANG=C => yields "no codes"
export LANG=en_US => yields codes.

If you still get :
LANG=C
LC_COLLATE="C"
LC_CTYPE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
after "export LANG=en_US" and "locale", you are missing message filesets
for "en_US" (or whatever language you are using).

Reagards,
Uwe Auer

jared...@yahoo.com

unread,
Nov 21, 2011, 4:49:40 PM11/21/11
to
On Nov 20, 3:58 am, Uwe Auer <u...@franke-auer.de> wrote:
That was exactly the problem. When I changed the LANG environment
variable to en_US, it worked.
Thank you!


0 new messages