On Tue, Nov 26, 2013 at 12:00:32PM +0000, Tom H wrote:
> I'm not an adduser user so that's why I checked the manpage for "-d".
> 
> If your assumption that useradd short options should be understood
> adduser, isn't this a bug?

I don't know. But the behaviour of adduser and useradd is consistent in
this regard:

# userdel test
# useradd -d /var/a/b/c test
Creating mailbox file: File exists
useradd: cannot create directory /var/a/b/c
# userdel test
# adduser -d /var/a/b/c test
Creating mailbox file: File exists
adduser: cannot create directory /var/a/b/c

If that's a bug, it's sure a longstanding one - I've reproduced it on
RHEL5 (which has userland from 2006).

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131126155459.GA32303@x101h

Reply via email to