svn commit: samba r13968 - branches/SAMBA_3_0/source/utils
idra at samba.org
Tue Mar 7 18:59:55 GMT 2006
On Tue, 2006-03-07 at 19:51 +0100, Volker Lendecke wrote:
> On Tue, Mar 07, 2006 at 05:49:27PM +0000, jmcd at samba.org wrote:
> > - pstr_sprintf(homedir, "dev/null");
> > + pstr_sprintf(homedir, "/dev/null");
> In my experience /dev/null is a particularly bad choice for
> $HOME, userdel -r has at least once destroyed that for me.
> And a system without /dev/null or /dev/null as a text file
> is rather unhappy.
I agree, it is reaaaaallly bad.
I had a similar experience once, and I had to reboot from a rescue disk
to restore /dev/null :-(
I usually set it to something like "/sambaworkstations" the home
directory does not need to really exists on the filesystem anyway.
Samba Team GPL Compliance Officer
email: idra at samba.org
More information about the samba-technical