Control: severity -1 wishlist Control: retitle -1 implement --no-copy-skel thanks
Hello, welcome to Debian. Thanks for your bug report (which is your the first one you have written, at least with this e-mail address). We appreciate your taking the time to tell us what we did wrong. On Thu, Mar 06, 2025 at 03:19:46AM +0000, Sunny73Cr wrote: > adduser --disabled-password --no-create-home test-user > > The command `cat /etc/passwd` then shows the new user: > > test-user:x:1001:1001:Test User,,,:/home/test-user:/bin/bash > > The command `ls /home/`, correctly; does not contain an entry for the > 'test-user' directory. Yes, that is caused by the --no-create-home directory which does tell adduser to not _create_ the directory. Since there is no directory, there is no entry in /home for that directory. The manpage adduser(8) in Debian 12 says in the first sentence of the explanation of the --no-create-home option: "Do not create a home directory for the new user." > I believe that the home path should be empty; as I had specified > "--no-create-home". There is currently no option to create an empty home directory for a non-system user. I am therefore retitling this bug report and make it a wishlist bug for a --no-copy-skel option that will inhibit copying of /etc/skel to the new home directory, which is currently done unconditionally. This should be easy enough to implement, but this is not going into Debian trixie. We have already frozen the documentation, and the translators are working on the translation. > These commands were run on Debian 12.9 Next time, please use the reportbug tool from the identically named package. That program will automatically collect information about your system and include it with the bug report that might make it easier to help you. Greetings Marc