[8274] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: rsaix 7.3M: smit uses /usr/athena/bin/passwd

daemon@ATHENA.MIT.EDU (lwvanels@Athena.MIT.EDU)
Thu Sep 26 14:45:42 1991

From: lwvanels@Athena.MIT.EDU
Date: Thu, 26 Sep 91 14:45:21 -0400
To: bugs@Athena.MIT.EDU
In-Reply-To: [8171]
Reply-To: lwvanels@mit.edu

This is because SMIT doesn't give an explicit path to passwd, but expected
the AIX version to be the first in the path.  To fix this, do:



- odmget -q"id=passwd" sm_cmd_hdr > /tmp/foo
- Edit /tmp/foo to to change the reference from "passwd" to
  "/bin/passwd" in the cmd_to_exec field.  The field should look like:

        cmd_to_exec = "x() { \n\
/bin/passwd $1\n\
if [ $? -ne 0 ]\n\
then\n\
        echo Hit enter to continue.\n\
        read\n\
fi\n\
}\n\
x"

- odmchange -o sm_cmd_hdr -q"id=passwd" /tmp/foo

home help back first fref pref prev next nref lref last post