[Adduser-devel] Bug#308881: --disabled-password writes ! in /etc/shadow
Marc Haber
Marc Haber <mh+debian-packages@zugschlus.de>, 308881@bugs.debian.org
Fri, 13 May 2005 07:44:19 +0200
severity #308881 minor
tags #308881 confirmed pending
thanks
Hi,
On Fri, May 13, 2005 at 02:19:47AM +0300, Shaul Karl wrote:
> adduser --system --disabled-password testuser
>
> writes ! in the encrypted password field of /etc/shadow
This is the intended behavior, which is misdocumented in the manpage:
"The new system user will have the shell /bin/false (unless overridden
with the --shell option), and have a disabled password."
The new manpage now says:
"... and have logins disabled."
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835