Chris,

Did you run etc-update, or dispatch-conf, to merge configuration file changes?  
I ran into the same error on several systems, but once I fixed up the 
configuration files changes, everything was fine.

                                Sean

On Sunday 26 June 2005 10:48 pm, Chris Ong wrote:
> Hi all,
>       And recent upgrade sudo-1.6.8_p9 make sudo with password inpossible.
>
>       After update sudo to the mentioned version, I get the problem and fixed
> by FAQ section in
>
> http://www.courtesan.com/sudo/troubleshooting.html
>
> Q) Sudo says 'Account expired or PAM config lacks an "account"
>    section for sudo, contact your system administrator' and exits
>    but I know my account has not expired.
> A) Your PAM config lacks an "account" specification.  On Linux this
>    usually means you are missing a line like:
>       account    required    pam_unix.so
>    in /etc/pam.d/sudo.
>
> But I was hung in this problem
>
> Q) When sudo asks me for my password it never accepts what I enter even
>    though I know I entered my password correctly.
> A) If your system uses shadow passwords, it is possible that sudo
>    didn't detect this.  Take a look at the generated config.h file
>    and verify that the C function used for shadow password lookups
>    was detected.  For instance, for SVR4-style shadow passwords,
>    HAVE_GETSPNAM should be defined (you can search for the string
>    "shadow passwords" in config.h with your editor).  Note that
>    there is no define for 4.4BSD-based shadow passwords since that
>    just uses the standard getpw* routines.
>
> Well, this is totally out from me to get this done. Is it a bug or
> anything in sudo source or the gentoo sudo ebuild?
>
> --
> Regards,
> C. K. Ong (Chris)
> Linux System Engineer
> RHCT Cert No: 603004347692007
> http://www.redhat.com/rhce/rhce603004347692007.html
>
> My Directory Sdn. Bhd.
> Your Open Source Partner.
> http://www.md.com.my http://www.net.my
> 2005
>
> This week's fortune:
> -----------------------------------------------------------------------
> Avoid the Gates of Hell.  Use Linux
> Ö(Unknown source)
> -----------------------------------------------------------------------
> fortune-mod version 1.99.1

-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - "Where information becomes knowledge."

-- 
gentoo-user@gentoo.org mailing list

Reply via email to