ispCP - Board - Support
Problem with passwd amavis - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Problem with passwd amavis (/thread-2678.html)



Problem with passwd amavis - DaSilva - 03-09-2008 11:04 PM

I wanted to install Maia so I followed this guide.
The problem is the step

passwd amavis

which gives me

/usr/src/maia# passwd amavis
passwd: Authentication service cannot retrieve authentication info.
passwd: password unchanged

What can I do?
Thanks for help.


RE: Problem with passwd amavis - rbtux - 03-10-2008 01:25 AM

sounds like a pam error... Do you need pam in your installation? Show us your /etc/nsswitch.conf...


RE: Problem with passwd amavis - DaSilva - 03-10-2008 01:31 AM

pam?
Never heard about that.
I just followed the guide.
/etc/nsswitch.conf:

passwd: compat
group: compat
shadow: compat

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis


RE: Problem with passwd amavis - rbtux - 03-10-2008 01:34 AM

have you updated your system?

set
passwd: files nis
group: files nis
shadow: files nis


and try again...


RE: Problem with passwd amavis - DaSilva - 03-10-2008 01:39 AM

I have followed the guide so I did this update:

apt-get update && upgrade

passwd: files nis
group: files nis
shadow: files nis

doesn't help.
What should I do now?
Thanks.


RE: Problem with passwd amavis - rbtux - 03-10-2008 01:43 AM

but there is a amavis user on your system?


RE: Problem with passwd amavis - DaSilva - 03-10-2008 01:44 AM

passwd root works. Seems to be a problem with the user amavis. How can I fix this?
passwd:

amavis:x:108:110:AMaViS system user,,,:/var/lib/amavis:/bin/false

gshadow:

clamav:!::
amavis:!::clamav

group:

clamav:x:109:
amavis:x:110:clamav

shadow:

no entry!