The Samba-Bugzilla – Bug 2330
Don't use /dev/null as home directory in the documentation
Last modified: 2005-08-24 10:20:19 UTC
As /dev/null is an important device it shouldn't be used as home directory. Any
system software might change something with the home dir (worst case removing it
while deleting the user) and this might result in a modified /dev/null
Our support had reports about such problems.
Therefore I suggest to use /var/lib/nobody instead.
Created attachment 960 [details]
Replace /dev/null by /var/lib/nobody
I am not at all convinced that this is the best solution to the problem.
Also, I do not like the arbitrary new rules that some FLOSS developers are
implementing. For example, not permitting /dev/null to be specified as a home
directory. Others have already implemented constraints that do not permit the
creation of group names that have a space or an upper-case character in them.
Windows interoperability has it's price I guess.
On the other hand, I do not have a better solution than what you have proposed,
so therefore, even though I do not like this patch, I have applied it. I fear
that resistance is futile - I have been assimilated. The Borgs win this time
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.