On Mon, Nov 25, 2013 at 09:05:12AM +0000, Tom H wrote: > What does "-d" mean?
Compatibility with useradd, which has '-d'. To my surprise manpage doesn't mention it. > [root@lenovo15]# adduser --home /var/a/b/c test > Adding user `test' ... > Adding new group `test' (1001) ... > Adding new user `test' (1001) with group `test' ... > Creating home directory `/var/a/b/c' ... > Copying files from `/etc/skel' ... > Enter new UNIX password: > Retype new UNIX password: > passwd: password updated successfully > Changing the user information for test > Enter the new value, or press ENTER for the default > Full Name []: > Room Number []: > Work Phone []: > Home Phone []: > Other []: > Is the information correct? [Y/n] > [root@lenovo15]# I stand corrected. Useradd can create directories recursively, if invoked with '--home option'. 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/20131125101543.GA13718@x101h