[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cyrus21: password and login shell?



On Sun, 15 Feb 2004, Bengt Thure'e wrote:
> I have just installed and started to verify my Sarge installation,
> and to my surprise I found (or rather "John" did) that cyrus has a 
> password and seems to be a login account.
> 
> Seems to be the same in both Sarge as well as in Woody.

>From the package's postinst:

        echo "Creating/updating cyrus user account..."
        adduser --system --ingroup mail --home /var/spool/cyrus \
           --shell /bin/sh --disabled-password \
           --gecos "Cyrus Mailsystem User"  cyrus >/dev/null 2>&1 || {
           if getent passwd | grep -s -q -E '^cyrus:'; then
                   echo "Non-system user cyrus found. I will not overwrite a non-system" >&2
                   echo "user. Remove the user and reinstall cyrus21-common." >&2
                   exit 1
           fi
           # unknown adduser error, simply exit
           exit 1
        }


That is not going to add a password for user cyrus.  Maybe you had a
_system_ cyrus user already, that had a password ?

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: