From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GPFMF-0004gs-Gu for garchives@archives.gentoo.org; Mon, 18 Sep 2006 09:24:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8I9NTMJ026074; Mon, 18 Sep 2006 09:23:29 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8I9JAjS025275 for ; Mon, 18 Sep 2006 09:19:10 GMT Received: by ug-out-1314.google.com with SMTP id p27so344747ugc for ; Mon, 18 Sep 2006 02:19:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=fD59EJFOTPII8klckxoX3RR+Twqrp5clrV/35zDKo7tMq6DEAA0FBzuh59xVTSnAZ4KZMKiVzft/LgkRWgufbU/2sJ2C10eyhyjxOEIoNxROWicljcaJFNQH9fxRTdg7pW3s0PFMplzTa6WrVeujLvnL76EHhrs9ikCrrDY5xfI= Received: by 10.67.100.17 with SMTP id c17mr7057907ugm; Mon, 18 Sep 2006 02:19:09 -0700 (PDT) Received: from neptune.octopus ( [80.104.86.95]) by mx.gmail.com with ESMTP id 54sm2798628ugp.2006.09.18.02.19.08; Mon, 18 Sep 2006 02:19:09 -0700 (PDT) Received: by neptune.octopus (Postfix, from userid 1000) id D13AAC02A; Mon, 18 Sep 2006 11:19:28 +0200 (CEST) Date: Mon, 18 Sep 2006 11:19:28 +0200 From: Matteo Pillon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] x or * in /etc/passwd ? Message-ID: <20060918091928.GA25496@neptune.octopus> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Archives-Salt: d5636d4d-890d-477a-b558-aabdc91dbd91 X-Archives-Hash: 8e0ad8a7d8af42dc958c56da768e3a53 On Mon, Sep 18, 2006 at 10:09:03AM +0100, Jorge Almeida wrote: > I've seen somewhere a '*' in the password field of non-human users. I > think this is supposed to mean that user can't login. However, I didn't > find anything like that in gentoo's /etc/passwd (e.g., for user cron or > user sshd). Can someone comment on this matter? Is * deprecated? Of > course, these non-human users have /bin/false as shell, but extra > precautions wouldn't hurt... > Am I seeing something wrong? Passwords are stored in /etc/shadow for security reasons: -rw-r--r-- /etc/passwd -rw------- /etc/shadow >>From shadow(5) manpage: If the password field contains some string that is not valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in, subject to pam(7). Bye. -- * Pillon Matteo -- gentoo-user@gentoo.org mailing list