[Bug 8586] adduser without -s (shell) creates invalid /etc/passwd entry

bugzilla at busybox.net bugzilla at busybox.net
Wed Jan 25 19:38:56 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=8586

--- Comment #2 from Dennis Schridde <dennis.schridde at uni-heidelberg.de> ---
I can still confirm this in Alpine Linux 3.5 with busybox v1.25.1:
```
$ docker run -ti alpine:3.5 /bin/sh
/ # busybox | head -n1
BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.
/ # addgroup -g 1000 xgroup
/ # adduser -u 1012 -G xgroup -h /home/user -D xuser
/ # grep xuser /etc/passwd
xuser:x:1012:1000:Linux User,,,:/home/user:,,,:/home/
/ # grep another /etc/passwd
another-user:x:1013:1000:Linux User,,,:/home/another:/sbin/halt
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list