[Pkg-shadow-devel] Bug#471705: Bug#471705: passwd: deluser weirdness; uninit value

Nicolas François nicolas.francois at centraliens.net
Wed Mar 19 21:36:43 UTC 2008


forcemerge 469165 471705
thanks

On Wed, Mar 19, 2008 at 12:20:14PM -0400, justinpryzby at users.sourceforge.net wrote:
> 
> $ sudo useradd useradd
> $ grep useradd /etc/passwd
> useradd:x:1004:1007::/home/useradd:/bin/sh
> $ sudo deluser useradd
> Use of uninitialized value in numeric eq (==) at /usr/sbin/deluser line 228.
> WARNING: You are just about to delete the root account (uid 0)
> Usually this is never required as it may render the whole system unusable
> Press immediately Ctrl+C if you want to abort
> Ok, you really want it, I'll delete that account

The problem is in deluser, not userdel.

It looks like #469165, which has a patch and should be fixed in the next
adduser release.

Best Regards,
-- 
Nekral





More information about the Pkg-shadow-devel mailing list