Bug 2330 - Don't use /dev/null as home directory in the documentation
Don't use /dev/null as home directory in the documentation
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.11
All Linux
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-09 13:31 UTC by Lars Müller
Modified: 2005-08-24 10:20 UTC (History)
0 users

See Also:


Attachments
Replace /dev/null by /var/lib/nobody (5.79 KB, patch)
2005-02-09 13:31 UTC, Lars Müller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Müller 2005-02-09 13:31:09 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.
Comment 1 Lars Müller 2005-02-09 13:31:59 UTC
Created attachment 960 [details]
Replace /dev/null by /var/lib/nobody
Comment 2 John H Terpstra 2005-02-09 14:06:27 UTC
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 
around! :) 
 
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:20:19 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.