Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1242601
| From | Chris Hofstaedtler <zeha@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. |
| Date | 2025-04-18 17:40 +0200 |
| Message-ID | <KCVYS-esDz-11@gated-at.bofh.it> (permalink) |
| References | <KCVvP-esoO-5@gated-at.bofh.it> <KCVvP-esoO-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Mark Symonds via Pkg-shadow-devel <pkg-shadow-devel@alioth-lists.debian.net> [250418 17:09]: >Package: passwd >Version: 1:4.17.4-1 >Severity: normal >Tags: patch > >Dear Maintainer, > >In useradd(8), we have the following: > > -d, --home-dir HOME_DIR > The new user will be created using HOME_DIR as the value for the user's login directory. The default is to append the LOGIN name to BASE_DIR and use that > as the login directory name. If the directory HOME_DIR does not exist, then it will be created unless the -M option is specified. > >The last sentence says HOME_DIR will be created, but it is not. Looking further, >it appears the reason is because CREATE_HOME does not exist in /etc/login.defs > >I've attached a patch to remove the last sentence of above description. (the patch appears to be missing) If, as you say, this is configurable in /etc/login.defs, then: IMO it would be better to send a patch describing the configurable behaviour, and sending that upstream. For option -M, there is already some text about CREATE_HOME. I guess it was an overseen that -d would also need some text. Best, Chris
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Mark Symonds <mark@syminet.com> - 2025-04-18 17:10 +0200
Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Mark - Syminet <mark@syminet.com> - 2025-04-18 17:40 +0200
Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Chris Hofstaedtler <zeha@debian.org> - 2025-04-18 17:40 +0200
Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Mark - Syminet <mark@syminet.com> - 2025-04-18 18:30 +0200
Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Chris Hofstaedtler <zeha@debian.org> - 2025-04-18 19:00 +0200
Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Mark - Syminet <mark@syminet.com> - 2025-04-18 20:00 +0200
Bug#1103523: [Pkg-shadow-devel] Bug#1103523: passwd: username -d does not create HOME_DIR when useradd(8) says it will. Mark - Syminet <mark@syminet.com> - 2025-05-09 19:10 +0200
csiph-web