|
From: Serge L. <fi...@in...> - 2006-06-14 03:23:17
|
Bruce, Tuesday, June 13, 2006, 6:31:04 PM, you wrote: >>>>> I also get the same error when I try to delete a user or a group: >>>>> >>>>> >>>>> root@squid :/etc # useradd test root@squid:/etc # userdel test >>>>> userdel: PAM authentication failed >>>>> root@squid:/etc # >>>>> >>>>> >>>>> root@squid:/etc # groupadd test1 >>>>> root@squid:/etc # groupdel test1 >>>>> groupdel: PAM authentication failed >>>>> root@squid:/etc # >>>>> >>>>> >>>> Does it fix the problem if you copy /etc/pam.d/groupadd to groupdel? >>>> >>>> >>>> >>> I tried that before my last message and it didn't work. >>> >>> >>> root@squid:/etc # groupadd test1 >>> root@squid:/etc # groupdel test1 >>> groupdel: PAM authentication failed >>> root@squid:/etc # >>> >>> >>> But after your message I tried it again and it works! >>> root@squid:/etc # groupadd test2 >>> root@squid:/etc # groupdel test2 >>> root@squid:/etc # >>> >>> >>> However, doing the same with userdel doesn't seem to: >>> root@squid:/etc # useradd test3 >>> root@squid:/etc # userdel test3 >>> userdel: error removing group entry >>> userdel: error removing shadow group entry >>> root@squid:/etc # >>> -- >>> John Bridleman >>> >> >> It seems we should look at this problem before we release 1.2.10. >> Guess it's time to look how other distros handle this one, I don't think >> it makes sense to list every single program here... >> > Let's not forget about 'usermod' & 'groupmod'. Can you try those John? As far as I know, if pam config for usermod (or groupmod) is absent, the "other" config should be used. Otherwise we have to write configs for _all_ binaries from the system... I guess, there are 2 possible causes of problem: 1) the package ( which contain userdel, useradd etc) is wrongly compiled 2) the pam config "other" is wrong. I'll see tonight. But I can't start compilation on my note due to the note age, so I'll see on the latest beta - devil-linux-1.2.10-2006-06-08-i686-SMP.tar.bz2 . I'm sorry, but I'm now in business trip in Sunnyvale, CA and have no access to build environment & build boxes. -- Best regards, Serge mailto:fi...@in... |