View | Details | Raw Unified | Return to bug 97083
Collapse All | Expand All

(-)passwd.c Wed May 10 13:42:40 2006 (-1 / +5 lines)
Lines 119-128 Link Here
119
               fprintf(stderr, "Changing NIS password for %s\n",
119
               fprintf(stderr, "Changing NIS password for %s\n",
120
                   pwd->pw_name);
120
                   pwd->pw_name);
121
               break;
121
               break;
122
       case _PWF_HESIOD:
123
               fprintf(stderr, "Changing HESIOD password for %s\n",
124
                   pwd->pw_name);
125
               break;
122
       default:
126
       default:
123
               /* XXX: Green men ought to be supported via PAM. */
127
               /* XXX: Green men ought to be supported via PAM. */
124
               errx(1, 
128
               errx(1, 
125
         "Sorry, `passwd' can only change passwords for local or NIS users.");
129
         "Sorry, `passwd' can only change passwords for local, NIS, or HESIOD users.");
126
       }
130
       }
127
131
128
#define pam_check(func) do { \
132
#define pam_check(func) do { \

Return to bug 97083