Summary: | Please include feature -M in application useradd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Magno Alexandre Torres <magnotorres> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | magnotorres |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Magno Alexandre Torres
2006-03-29 16:10:17 UTC
not a security issue i'll send an e-mail to upstream shadow dev list to see if they'll add the feature actually, i just read the source code, and they've already made a decision default behavior of useradd is to not create the homedir if you want to create the homedir, use the -m option the CREATE_HOME config option is not valid and wont be added (In reply to comment #4) > default behavior of useradd is to not create the homedir > > if you want to create the homedir, use the -m option > > the CREATE_HOME config option is not valid and wont be added > But this option exist in man of login.defs: CREATE_HOME (boolean) This defines whether useradd should create home directories for users by default. This option is OR'ed with the -m flag on useradd command line. Is it right? So, this option won't be add because isn't safe or because isn't default behavior? that's a bug in the shadow codebase ... if you read the actual shadow sourcecode, it will error out when it encounters CREATE_HOME ... so the docs are out of sync with the codebase i'll poke upstream about it |