|
Bugzilla – Full Text Bug Listing |
| Summary: | useradd won't create home directory | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Martin Mrazik <mmrazik> |
| Component: | Basesystem | Assignee: | Thorsten Kukuk <kukuk> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 97395 | ||
RTFM "man useradd":
-m, --create-home
Create home directory for new user account.
still don't understand why -d does not imply -m. but nevermind.... Because specifying another directory as the default has nothing to do with if the directory should be created or not. |
how to reproduce: useradd -d /tmp/test_user test_user if [ -d /tmp/test_user ]; then echo PASSED; else echo FAILED; fi I reproduced this behaviour on SL10 beta3 and on my SL9.3 installation. The command without the -d parameter does not work as well.